[Freeswitch-svn] [commit] r11171 - freeswitch/trunk/src/mod/applications/mod_limit
FreeSWITCH SVN
silik0n at freeswitch.org
Tue Jan 13 15:58:40 PST 2009
Author: silik0n
Date: Tue Jan 13 17:58:40 2009
New Revision: 11171
Log:
tab cleanup
Modified:
freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
Modified: freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_limit/mod_limit.c Tue Jan 13 17:58:40 2009
@@ -767,16 +767,16 @@
callback_t cbt = { 0 };
- if (!switch_strlen_zero(cmd)) {
- mydata = strdup(cmd);
- switch_assert(mydata);
- argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
- }
+ if (!switch_strlen_zero(cmd)) {
+ mydata = strdup(cmd);
+ switch_assert(mydata);
+ argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
+ }
- if (argc < 2) {
- stream->write_function(stream, "USAGE: limit_usage %s\n", LIMIT_USAGE_USAGE);
+ if (argc < 2) {
+ stream->write_function(stream, "USAGE: limit_usage %s\n", LIMIT_USAGE_USAGE);
goto end;
- }
+ }
realm = argv[0];
@@ -788,7 +788,7 @@
limit_execute_sql_callback(NULL, sql, sql2str_callback, &cbt);
switch_safe_free(sql);
- stream->write_function(stream, "%s", buf);
+ stream->write_function(stream, "%s", buf);
end:
switch_safe_free(mydata);
More information about the Freeswitch-svn
mailing list