From 2b1d10e02e9ba70cf999f3e55efe308405750772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 11 Jul 2014 22:15:57 +0000 Subject: [PATCH] Oops, fix copy-pasto in previous commit. --- t/t.h | 2 +- t/t_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t.h b/t/t.h index 3fc6f07..51c3452 100644 --- a/t/t.h +++ b/t/t.h @@ -83,7 +83,7 @@ void t_fcloseall(void); * Various utilities */ 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 diff --git a/t/t_util.c b/t/t_util.c index 7a1a9a3..5129cd6 100644 --- a/t/t_util.c +++ b/t/t_util.c @@ -70,7 +70,7 @@ int 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("received %s\n", received); return (0);