remove debug, it's Miller time\!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara 2003-09-14 02:22:11 +00:00
parent 02222bc6c1
commit 26fdbec56f
1 changed files with 0 additions and 11 deletions

View File

@ -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*/