[Freeswitch-svn] [commit] r11074 - freeswitch/trunk/src/mod/applications/mod_dptools
FreeSWITCH SVN
silik0n at freeswitch.org
Tue Jan 13 15:25:47 PST 2009
Author: silik0n
Date: Tue Jan 13 18:25:47 2009
New Revision: 11074
Log:
clean up formatting
Modified:
freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
Modified: freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_dptools/mod_dptools.c Tue Jan 13 18:25:47 2009
@@ -603,14 +603,14 @@
SWITCH_STANDARD_APP(presence_function)
{
char *argv[6] = { 0 };
- int argc;
- char *mydata = NULL;
+ int argc;
+ char *mydata = NULL;
switch_channel_t *channel = switch_core_session_get_channel(session);
if (switch_strlen_zero(data) || !(mydata = switch_core_session_strdup(session, data))) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID ARGS!\n");
- return;
- }
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID ARGS!\n");
+ return;
+ }
if ((argc = switch_separate_string(mydata, ' ', argv, sizeof(argv) / sizeof(argv[0]))) < 2) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID ARGS!\n");
@@ -2105,7 +2105,7 @@
}
- done:
+ done:
if (dest && dest != template) {
switch_safe_free(dest);
More information about the Freeswitch-svn
mailing list