From 7b2988821a771420fb0279926ee6671d79ae3fce Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 10 Feb 2006 23:55:47 +0000 Subject: 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: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'channels') 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 * @@ -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') -- cgit v1.2.3