diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/negate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/negate.c b/plugins/negate.c index e10c78df..1603342b 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 | ||
