summaryrefslogtreecommitdiff
path: root/testing/toxic/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/main.c')
-rw-r--r--testing/toxic/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index 063c1483..ec33c72f 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -218,7 +218,7 @@ int main(int argc, char *argv[])
218 else if (argv[i][0] == '-') { 218 else if (argv[i][0] == '-') {
219 if (argv[i][1] == 'f') { 219 if (argv[i][1] == 'f') {
220 if (argv[i + 1] != NULL) 220 if (argv[i + 1] != NULL)
221 DATA_FILE = argv[i + 1]; 221 DATA_FILE = strdup(argv[i + 1]);
222 else 222 else
223 f_flag = -1; 223 f_flag = -1;
224 } else if (argv[i][1] == 'n') { 224 } else if (argv[i][1] == 'n') {