aboutsummaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-25 21:42:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-25 21:42:11 +0000
commit78ad97319349e9881653684f276dd620a0a423e9 (patch)
treecded8f0063f6848429706a36bd51174e62417b7e /src/util/strings.c
parentb968c5926b205c3cdd467474753746ef21522b32 (diff)
downloadgnunet-78ad97319349e9881653684f276dd620a0a423e9.tar.gz
gnunet-78ad97319349e9881653684f276dd620a0a423e9.zip
-misc fixes based on cppcheck
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index da02a9c4f..6380ea5ec 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -1275,7 +1275,7 @@ GNUNET_STRINGS_get_utf8_args (int argc, char *const *argv, int *u8argc, char *co
1275 size_t strl; 1275 size_t strl;
1276 /* Hopefully it will allocate us NUL-terminated strings... */ 1276 /* Hopefully it will allocate us NUL-terminated strings... */
1277 split_u8argv[i] = (char *) u16_to_u8 (wargv[i], wcslen (wargv[i]) + 1, NULL, &strl); 1277 split_u8argv[i] = (char *) u16_to_u8 (wargv[i], wcslen (wargv[i]) + 1, NULL, &strl);
1278 if (split_u8argv == NULL) 1278 if (NULL == split_u8argv[i])
1279 { 1279 {
1280 int j; 1280 int j;
1281 for (j = 0; j < i; j++) 1281 for (j = 0; j < i; j++)