summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2017-08-12 13:27:30 +0200
committerAaron Marcher <me@drkhsh.at>2017-08-12 13:27:30 +0200
commitc4779c9b15b5138d1dfcf1d706d88baff36f5bd3 (patch)
treef63a3236b6ff0231dec1c61d8ce2cc9486fcedeb /config.def.h
parentbe12b6b350c7cf2ea826d3988371efb680b4ba30 (diff)
Removed #define for unknown_str
Debugging #define is very difficult. The performance overhead of static const char is negligible.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 2b06f34..1797a9b 100644
--- a/config.def.h
+++ b/config.def.h
@@ -4,7 +4,7 @@
static const int update_interval = 1;
/* text to show if no value can be retrieved */
-#define UNKNOWN_STR "n/a"
+static const char unknown_str[] = "n/a";
/* maximum output string length */
#define MAXLEN 2048