From f3a0adec936bef26f03cff6b6018b8103036c855 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 11 Feb 2008 21:32:32 +0000 Subject: [PATCH] Remove ',' from date in CSV export SVN revision: 2040 --- src/elogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index cd75d1a6..5ad959fd 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -19986,7 +19986,10 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa else rsprintf(";"); - rsprintf("%s", date); + strlcpy(str, date, sizeof(str)); + while (strchr(str, ',')) + *strchr(str, ',') = ' '; + rsprintf(str); if (strieq(mode, "CSV1")) rsprintf(","); else