string formatting: fix 25+ printf-style format strings

This commit is contained in:
Yang Tse
2013-07-23 15:59:07 +02:00
parent 1a593191c2
commit de052ca6fc
12 changed files with 56 additions and 34 deletions

View File

@@ -10,7 +10,7 @@
* Copyright (c) 1998, 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
*
* Copyright (C) 2001 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2001 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* All rights reserved.
*
@@ -498,7 +498,7 @@ static CURLcode choose_mech(struct connectdata *conn)
/* We have no mechanism with a NULL name but keep this check */
DEBUGASSERT(mech_name != NULL);
if(mech_name == NULL) {
infof(data, "Skipping mechanism with empty name (%p)\n", mech);
infof(data, "Skipping mechanism with empty name (%p)\n", (void *)mech);
continue;
}
tmp_allocation = realloc(conn->app_data, (*mech)->size);