The branch, master has been updated
       via  f538f2ae9ba4c5705718e8f7dda32921419685ba (commit)
       via  7140cce7f31eb2135491fdc62645b4753d941520 (commit)
      from  1ec93570bf765c4cd67a3d6be1d5c2f8ca9f5f06 (commit)

- Log -----------------------------------------------------------------
commit f538f2ae9ba4c5705718e8f7dda32921419685ba
Merge: 1ec9357 7140cce
Author: Thomas Adam <tho...@xteddy.org>
Commit: Thomas Adam <tho...@xteddy.org>

    Merge branch 'obsd-master'

 format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



commit 7140cce7f31eb2135491fdc62645b4753d941520
Author: nicm <nicm>
Commit: nicm <nicm>

    Return empty string if format is empty rather than attempting to
    allocate zero bytes.
---
 format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/format.c b/format.c
index db6f923..eff1668 100644
--- a/format.c
+++ b/format.c
@@ -335,7 +335,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);


-----------------------------------------------------------------------

Summary of changes:
 format.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to