projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d0d94
)
Use ast_strlen_zero in logger.c
author
James Golovich
<james@gnuinter.net>
Thu, 6 May 2004 20:23:48 +0000
(20:23 +0000)
committer
James Golovich
<james@gnuinter.net>
Thu, 6 May 2004 20:23:48 +0000
(20:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2907
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
logger.c
patch
|
blob
|
history
diff --git
a/logger.c
b/logger.c
index
cd207b8
..
fa73477
100755
(executable)
--- a/
logger.c
+++ b/
logger.c
@@
-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
@@
static struct logchannel *make_logchannel(char *channel, char *components, int l
char *facility;
CODE *cptr;
- if (!strlen(channel))
+ if (ast_strlen_zero(channel))
return NULL;
chan = malloc(sizeof(struct logchannel));