aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-31 06:28:51 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-31 06:28:51 +0000
commit1d007230fb971548422b419075bfe2b65c79d758 (patch)
tree8c86c00a44e9b5b06ec5c16d239ae626abb556b2 /channels/h323
parent84ed768fba7ede5677fe24f4cca2ed94a3895911 (diff)
update the other callerid check
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1245 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-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);
}