aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-14 02:22:11 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-14 02:22:11 +0000
commite85fbb7544fe715781040b66f6784610aadbeadd (patch)
tree587ccc4c6450bba2023de2a98bdacc9b9b9ffd56 /channels/chan_skinny.c
parent998e717611b19a01f58004766ed405a2e478b4a6 (diff)
remove debug, it's Miller time\!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1516 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rwxr-xr-xchannels/chan_skinny.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 5b9e8d071..3017fe1e0 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*/