Oops, fix copy-pasto in previous commit.

This commit is contained in:
Dag-Erling Smørgrav 2014-07-11 22:15:57 +00:00 committed by des
parent a4576782b2
commit 2b1d10e02e
2 changed files with 2 additions and 2 deletions

2
t/t.h
View file

@ -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

View file

@ -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);