projects
/
platform
/
upstream
/
gpg2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.1.9
[platform/upstream/gpg2.git]
/
common
/
stringhelp.c
diff --git
a/common/stringhelp.c
b/common/stringhelp.c
index
576c2ea
..
38c3832
100644
(file)
--- a/
common/stringhelp.c
+++ b/
common/stringhelp.c
@@
-1230,7
+1230,7
@@
strsplit (char *string, char delim, char replacement, int *count)
for (t = strchr (string, delim); t; t = strchr (t + 1, delim))
fields ++;
- result = xtrycalloc (
sizeof (*result), (fields + 1
));
+ result = xtrycalloc (
(fields + 1), sizeof (*result
));
if (! result)
return NULL;