remove debug, it's Miller time\!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Jeremy McNamara 22 years ago
parent 02222bc6c1
commit 26fdbec56f

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

Loading…
Cancel
Save