summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2003-07-31 06:28:51 +0000
committerJeremy McNamara <jj@nufone.net>2003-07-31 06:28:51 +0000
commite217072b8be7341086a502c9756e65e5c1eca478 (patch)
tree8c86c00a44e9b5b06ec5c16d239ae626abb556b2 /channels
parent5fc9d43a993de6826bc3392a451818d29b01c2a1 (diff)
update the other callerid check
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/h323/chan_h323.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c
index 017a16436..eb148e537 100755
--- a/channels/h323/chan_h323.c
+++ b/channels/h323/chan_h323.c
@@ -405,7 +405,7 @@ static int oh323_call(struct ast_channel *c, char *dest, int timeout)
memcpy(called_addr, dest, sizeof(called_addr));
/* Copy callerid, if there is any */
- if (strlen(c->callerid)) {
+ if (c->callerid) {
p->calloptions.callerid = strdup(c->callerid);
}