mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-29 00:55:45 +00:00
Oops, fix copy-pasto in previous commit.
This commit is contained in:
parent
a4576782b2
commit
2b1d10e02e
2 changed files with 2 additions and 2 deletions
2
t/t.h
2
t/t.h
|
@ -83,7 +83,7 @@ void t_fcloseall(void);
|
||||||
* Various utilities
|
* Various utilities
|
||||||
*/
|
*/
|
||||||
int t_compare_mem(const void *, const void *, size_t);
|
int t_compare_mem(const void *, const void *, size_t);
|
||||||
int t_compare_str(const char *, const char *, size_t);
|
int t_compare_str(const char *, const char *);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Useful constants
|
* Useful constants
|
||||||
|
|
|
@ -70,7 +70,7 @@ int
|
||||||
t_compare_str(const char *expected, const char *received)
|
t_compare_str(const char *expected, const char *received)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (strcmp(expected, received, len) != 0) {
|
if (strcmp(expected, received) != 0) {
|
||||||
t_verbose("expected %s\n", expected);
|
t_verbose("expected %s\n", expected);
|
||||||
t_verbose("received %s\n", received);
|
t_verbose("received %s\n", received);
|
||||||
return (0);
|
return (0);
|
||||||
|
|
Loading…
Reference in a new issue