fix print formatting string directives

This commit is contained in:
Yang Tse
2008-09-04 18:59:05 +00:00
parent c0f3e32447
commit 3dcd2b82c4
9 changed files with 28 additions and 25 deletions

View File

@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2004 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2004 - 2008, 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
@@ -720,7 +720,7 @@ const char *Curl_idn_strerror (struct connectdata *conn, int err)
str = "dlopen() error";
break;
default:
snprintf(buf, max, "error %d", (int)err);
snprintf(buf, max, "error %d", err);
str = NULL;
break;
}