Skip to content

Commit

Permalink
[mms-engine] Explicitly request timestamps from libglibutil. MER#1027
Browse files Browse the repository at this point in the history
The default for gutil_log_timestamp is likely to be changed to FALSE soon.
  • Loading branch information
monich committed Feb 24, 2021
1 parent caa79f2 commit 5515c13
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mms-engine/main.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2013-2020 Jolla Ltd.
* Copyright (C) 2013-2020 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2013-2021 Jolla Ltd.
* Copyright (C) 2013-2021 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2020 Open Mobile Platform LLC.
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -637,10 +637,11 @@ int main(int argc, char* argv[])
MMSConfig* config = &opt.global.config;
MMSSettingsSimData* settings = &opt.settings.data;

mms_lib_init(argv[0]);
gofono_log.name = "mms-ofono";
gutil_log_default.name = MMS_APP_LOG_PREFIX;
gutil_log_timestamp = TRUE;
memset(&opt, 0, sizeof(opt));
mms_lib_init(argv[0]);
mms_lib_default_config(config);
mms_settings_sim_data_default(settings);
mms_app_dbus_config_init(&opt.dbus);
Expand Down

0 comments on commit 5515c13

Please sign in to comment.