From e1922617883d5a70a282ed0e9e756a27eeed6bba Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Dec 2001 13:13:01 +0000 Subject: failf() calls should not have newlines in the message string! --- lib/dict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/dict.c') diff --git a/lib/dict.c b/lib/dict.c index bbb5fe146..79b5a7786 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -121,7 +121,7 @@ CURLcode Curl_dict(struct connectdata *conn) } if ((word == NULL) || (*word == (char)0)) { - failf(data, "lookup word is missing\n"); + failf(data, "lookup word is missing"); } if ((database == NULL) || (*database == (char)0)) { database = (char *)"!"; @@ -174,7 +174,7 @@ CURLcode Curl_dict(struct connectdata *conn) } if ((word == NULL) || (*word == (char)0)) { - failf(data, "lookup word is missing\n"); + failf(data, "lookup word is missing"); } if ((database == NULL) || (*database == (char)0)) { database = (char *)"!"; -- cgit v1.2.3