diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 5b9e8d071ceaf8e0d2db0e52efea15e228ba8f3b..3017fe1e0fd00cf35da2ade00b0a80c9d24f0fc0 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -708,8 +708,6 @@ static struct skinny_subchannel *find_subchannel_by_name(char *dest) char *at; char *device; - printf("dest: %s\n", dest); - strncpy(line, dest, sizeof(line) - 1); at = strchr(line, '@'); if (!at) { @@ -719,10 +717,6 @@ static struct skinny_subchannel *find_subchannel_by_name(char *dest) *at = '\0'; at++; device = at; - - printf("line: %s\n", line); - printf("device: %s\n", device); - ast_mutex_lock(&devicelock); d = devices; while(d) { @@ -736,16 +730,11 @@ static struct skinny_subchannel *find_subchannel_by_name(char *dest) /* Search for the right line */ if (!strcasecmp(l->name, line)) { ast_mutex_unlock(&devicelock); - if (skinnydebug) { - printf("Found line: %s\n", l->name); - } return l->sub; } - printf("line cycle\n"); l = l->next; } } - printf("device cycle\n"); d = d->next; } /* Device not found*/