summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r--uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index a5e8a391a..9b45d0ee4 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -968,7 +968,7 @@ static bool do_dump_buffer_to_file(char *buf, char *prefix, int round)
if (strstr(buf, "date{ts{"))
strncpy(date, strstr(buf, "date{ts{"), sizeof(date));
else
- strncpy(date, strdup("date{ts{no-date{"), sizeof(date));
+ strncpy(date, "date{ts{no-date{", sizeof(date));
if (!strstr(buf, "object_id{int{"))
return false;