optimizations

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2354 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-08-22 00:56:27 +00:00
parent a0219008e9
commit 780edcd09d
7 changed files with 12 additions and 11 deletions

View File

@@ -176,9 +176,9 @@ SWITCH_DECLARE(void) switch_console_loop(void)
{
char hostname[256];
char cmd[2048];
int running = 1, x = 0, activity = 1;
int running = 1, activity = 1;
char *retbuf = (char *)malloc(CMD_BUFLEN);
switch_size_t x = 0;
assert(retbuf != NULL);
gethostname(hostname, sizeof(hostname));