summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-11-04 13:06:16 +0100
committerYorhel <git@yorhel.nl>2012-11-04 13:06:16 +0100
commite6e0bc46d1c7ed2d017e70e7ab616ae7b0470251 (patch)
tree8b3b1a528f3515962080db0417cd53abe8aea01e
parent5e5bffd3df4893277f677721eaa506477c448ece (diff)
util.c: Fix typo localtime_fmt() that breaks compilation on glib < 2.26
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index d5cc999..5d82524 100644
--- a/src/util.c
+++ b/src/util.c
@@ -145,7 +145,7 @@ char *localtime_fmt(const char *fmt) {
len *= 2;
ts = g_realloc(ts, len);
}
- return s;
+ return ts;
#endif
}