From: Mike Rylander Date: Fri, 20 Jun 2014 20:00:43 +0000 (-0400) Subject: And a bit of belt and suspenders X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=70d281a677bad06a460a0f23d6dce93de6703f06;p=working%2FOpenSRF.git And a bit of belt and suspenders Signed-off-by: Mike Rylander --- diff --git a/src/libopensrf/log.c b/src/libopensrf/log.c index 1112451..ca5f521 100644 --- a/src/libopensrf/log.c +++ b/src/libopensrf/log.c @@ -322,7 +322,7 @@ void osrfLogSetSyslogFacility( int facility ) { */ void osrfLogSetLogTag( const char* logtag ) { - _osrfLogTag = logtag; + if (logtag) _osrfLogTag = strdup(logtag); } /**