Skip to content

Commit

Permalink
[nfcd] Explicitly request timestamps from libglibutil. JB#48413
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 9b6bd39 commit 6af9504
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.c
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2018-2020 Jolla Ltd.
* Copyright (C) 2018-2020 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2018-2021 Jolla Ltd.
* Copyright (C) 2018-2021 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
Expand Down Expand Up @@ -335,6 +335,7 @@ int main(int argc, char* argv[])
NfcdOpt opt;

gutil_log_default.name = "nfcd";
gutil_log_timestamp = TRUE;
setlocale(LC_ALL, "");
nfcd_opt_init(&opt);
if (nfcd_opt_parse(&opt, argc, argv)) {
Expand Down

0 comments on commit 6af9504

Please sign in to comment.