diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-05-20 10:01:19 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-05-20 10:01:19 +0100 |
commit | f538f2ae9ba4c5705718e8f7dda32921419685ba (patch) | |
tree | 5e4f1a183dd48f645d259df279d090bcf2ee32cb | |
parent | 1ec93570bf765c4cd67a3d6be1d5c2f8ca9f5f06 (diff) | |
parent | 7140cce7f31eb2135491fdc62645b4753d941520 (diff) | |
download | rtmux-f538f2ae9ba4c5705718e8f7dda32921419685ba.tar.gz rtmux-f538f2ae9ba4c5705718e8f7dda32921419685ba.tar.bz2 rtmux-f538f2ae9ba4c5705718e8f7dda32921419685ba.zip |
Merge branch 'obsd-master'
-rw-r--r-- | format.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ format_expand_time(struct format_tree *ft, const char *fmt, time_t t) size_t tmplen; struct tm *tm; - if (fmt == NULL) + if (fmt == NULL || *fmt == '\0') return (xstrdup("")); tm = localtime(&t); |