[asterisk-commits] russell: trunk r75911 - /trunk/main/acl.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 19 09:46:50 CDT 2007
Author: russell
Date: Thu Jul 19 09:46:49 2007
New Revision: 75911
URL: http://svn.digium.com/view/asterisk?view=rev&rev=75911
Log:
Remove some debug code that was added in revision 75894, which removed some
other debug code. :)
Modified:
trunk/main/acl.c
Modified: trunk/main/acl.c
URL: http://svn.digium.com/view/asterisk/trunk/main/acl.c?view=diff&rev=75911&r1=75910&r2=75911
==============================================================================
--- trunk/main/acl.c (original)
+++ trunk/main/acl.c Thu Jul 19 09:46:49 2007
@@ -334,10 +334,6 @@
int s;
struct sockaddr_in sin;
socklen_t slen;
- static int prof = -1;
- if (prof == -1)
- prof = ast_add_profile("ast_ouraddrfor", 0);
- ast_mark(prof, 1);
s = socket(PF_INET, SOCK_DGRAM, 0);
if (s < 0) {
ast_log(LOG_WARNING, "Cannot create socket\n");
@@ -359,7 +355,6 @@
}
close(s);
*us = sin.sin_addr;
- ast_mark(prof, 0);
return 0;
}
More information about the asterisk-commits
mailing list