diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/command/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index db947556..1fa8cc24 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -807,7 +807,7 @@ _writecsv(int fd, const char *const str) char *c = s; int i = 0; for (; i < strlen(str); i++) { - if(str[i] != '"') *c++ = str[i]; + if (str[i] != '"') *c++ = str[i]; else { *c++ = '"'; *c++ = '"'; len++; } } if (-1 == write(fd, s, len)) { |