[Asterisk-cvs] asterisk/channels chan_skinny.c,1.10,1.11

jeremy at lists.digium.com jeremy at lists.digium.com
Sat Sep 13 21:21:03 CDT 2003


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv30266

Modified Files:
	chan_skinny.c 
Log Message:
remove debug, it's Miller time\!


Index: chan_skinny.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_skinny.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- chan_skinny.c	14 Sep 2003 02:17:32 -0000	1.10
+++ chan_skinny.c	14 Sep 2003 02:22:11 -0000	1.11
@@ -708,8 +708,6 @@
 	char *at;
 	char *device;
 	
-	printf("dest: %s\n", dest);
-
 	strncpy(line, dest, sizeof(line) - 1);
 	at = strchr(line, '@');
 	if (!at) {
@@ -719,10 +717,6 @@
 	*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 @@
 				/* 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*/




More information about the svn-commits mailing list