aboutsummaryrefslogtreecommitdiff
path: root/comms/gnokii/files/patch-gnokii-gnokii.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gnokii/files/patch-gnokii-gnokii.c')
-rw-r--r--comms/gnokii/files/patch-gnokii-gnokii.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/gnokii/files/patch-gnokii-gnokii.c b/comms/gnokii/files/patch-gnokii-gnokii.c
new file mode 100644
index 000000000000..dd16da5aed4b
--- /dev/null
+++ b/comms/gnokii/files/patch-gnokii-gnokii.c
@@ -0,0 +1,11 @@
+--- gnokii/gnokii.c.orig 2009-02-03 23:23:35.000000000 +0100
++++ gnokii/gnokii.c 2009-02-03 23:24:01.000000000 +0100
+@@ -1082,7 +1082,7 @@
+ else
+ len = strlen(input);
+ if (len > 0)
+- argv[argc++] = strndup(input, len);
++ argv[argc++] = strdup(input);
+ input = tmp;
+ } while (input);
+ argv[argc] = NULL;