aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-downloader-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-downloader-main.cpp')
-rw-r--r--subsurface-downloader-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-downloader-main.cpp b/subsurface-downloader-main.cpp
index 1936228c4..b8b65ffee 100644
--- a/subsurface-downloader-main.cpp
+++ b/subsurface-downloader-main.cpp
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
struct filter_preset_table presets;
// set a default logfile name for libdivecomputer so we always get a logfile
- logfile_name = "subsurface-downloader.log";
+ logfile_name = strdup("subsurface-downloader.log");
const char *default_directory = system_default_directory();
const char *default_filename = system_default_filename();