about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-28T16·49+0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-28T16·49+0200
commitfe34b91289793178323b4924ee63c9e3ed636d11 (patch)
treedd4e89274d5c58d50bc628461bc52f7a036bf6b7 /src/libutil
parente681b1f064f88b46cd75d374937bd07e5d6e95d1 (diff)
Tunnel progress messages from the daemon to the client
This makes the progress bar work for non-root users.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/logging.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 2ec15cb68d25..e3e7c8e6f330 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -47,7 +47,7 @@ public:
     struct Field
     {
         // FIXME: use std::variant.
-        enum { tInt, tString } type;
+        enum { tInt = 0, tString = 1 } type;
         uint64_t i = 0;
         std::string s;
         Field(const std::string & s) : type(tString), s(s) { }