aboutsummaryrefslogtreecommitdiff
path: root/lib/formdata.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-14 13:32:05 +0200
committerYang Tse <yangsita@gmail.com>2012-06-14 13:32:05 +0200
commit6085ca2aeddb38e4d5f24c47bd98111b236cf384 (patch)
tree7b4577a279969ef44ed811738ef80723367ca508 /lib/formdata.c
parenta8259945c4086445022b658f023bc712d1fc9c9d (diff)
Fix bad failf() and info() usage
Calls to failf() are not supposed to provide trailing newline. Calls to infof() must provide trailing newline. Fixed 30 or so strings.
Diffstat (limited to 'lib/formdata.c')
-rw-r--r--lib/formdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/formdata.c b/lib/formdata.c
index 5349130ff..7bf883941 100644
--- a/lib/formdata.c
+++ b/lib/formdata.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1239,7 +1239,7 @@ CURLcode Curl_getformdata(struct SessionHandle *data,
}
else {
if(data)
- failf(data, "couldn't open file \"%s\"\n", file->contents);
+ failf(data, "couldn't open file \"%s\"", file->contents);
*finalform = NULL;
result = CURLE_READ_ERROR;
}