diff options
-rw-r--r-- | src/command/commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 0d5ce5e0..2c3b6352 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -799,7 +799,8 @@ cmd_script(ProfWin *window, const char *const command, gchar **args) /* escape a string into csv and write it to the file descriptor */ static int -_writecsv(int fd, const char *const str){ +_writecsv(int fd, const char *const str) +{ if(!str) return 0; size_t len = strlen(str); char *s = malloc(2 * len * sizeof(char)); |