summaryrefslogtreecommitdiffstats
path: root/plugins/negate.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/negate.c')
-rw-r--r--plugins/negate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/negate.c b/plugins/negate.c
index e10c78d..1603342 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -259,8 +259,8 @@ process_arguments (int argc, char **argv)
259 } 259 }
260 } 260 }
261 261
262 command_line = strscpy (command_line, argv[optind]); 262 asprintf (&command_line, "%s", argv[optind]);
263 for (c = optind+1; c <= argc; c++) { 263 for (c = optind+1; c < argc; c++) {
264 asprintf (&command_line, "%s %s", command_line, argv[c]); 264 asprintf (&command_line, "%s %s", command_line, argv[c]);
265 } 265 }
266 266