diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 23:55:47 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-10 23:55:47 +0000 |
commit | 6fdcb5fae5233c35c1391a39b73f5cb8f5d4b28f (patch) | |
tree | 9d37bc419c37f5395bcc63a1a25ba743b5eb2225 /channels | |
parent | 00dd1704f15d77f4b5ca3694493812b8e49a8696 (diff) |
clean up SMDI support commit:
copyright header format and dates
code formatting and guidelines conformance
use of timeval wrapper functions
use of memory allocation wrappers
propery unref created interface objects during config load
document new variable set by chan_zap in doc/channelvariables.txt
remove useless 'extern' on function prototypes and definitions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9451 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_zap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 687c96011..0a414a28d 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -1,7 +1,7 @@ /* * Asterisk -- An open source telephony toolkit. * - * Copyright (C) 1999 - 2005, Digium, Inc. + * Copyright (C) 1999 - 2006, Digium, Inc. * * Mark Spencer <markster@digium.com> * @@ -5948,10 +5948,10 @@ lax); #endif #ifdef WITH_SMDI /* check for SMDI messages */ - if(p->use_smdi && p->smdi_iface) { + if (p->use_smdi && p->smdi_iface) { smdi_msg = ast_smdi_md_message_wait(p->smdi_iface, SMDI_MD_WAIT_TIMEOUT); - if(smdi_msg != NULL) { + if (smdi_msg != NULL) { ast_copy_string(chan->exten, smdi_msg->fwd_st, sizeof(chan->exten)); if (smdi_msg->type == 'B') |