[Asterisk-cvs] asterisk logger.c,1.34,1.35
citats at lists.digium.com
citats at lists.digium.com
Thu May 6 16:14:56 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv11221
Modified Files:
logger.c
Log Message:
Use ast_strlen_zero in logger.c
Index: logger.c
===================================================================
RCS file: /usr/cvsroot/asterisk/logger.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- logger.c 22 Apr 2004 02:57:10 -0000 1.34
+++ logger.c 6 May 2004 20:23:48 -0000 1.35
@@ -22,6 +22,7 @@
#include <asterisk/config.h>
#include <asterisk/term.h>
#include <asterisk/cli.h>
+#include <asterisk/utils.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
@@ -126,7 +127,7 @@
char *facility;
CODE *cptr;
- if (!strlen(channel))
+ if (ast_strlen_zero(channel))
return NULL;
chan = malloc(sizeof(struct logchannel));
More information about the svn-commits
mailing list