projects
/
working
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55bae72
)
And a bit of belt and suspenders
author
Mike Rylander
<mrylander@gmail.com>
Fri, 20 Jun 2014 20:00:43 +0000
(16:00 -0400)
committer
Mike Rylander
<mrylander@gmail.com>
Fri, 20 Jun 2014 20:00:43 +0000
(16:00 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
src/libopensrf/log.c
patch
|
blob
|
history
diff --git
a/src/libopensrf/log.c
b/src/libopensrf/log.c
index
1112451
..
ca5f521
100644
(file)
--- 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)
;
}
/**