aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-19 14:46:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-19 14:46:49 +0000
commit13d057de6bd3049b7b275b1049f35bd834c1c8bb (patch)
treea6c5acdac65a941ccc88ed99954f0a5ff23b2290 /main/acl.c
parent86439502e0a7b86589dc4e863453cb24f33fda2a (diff)
Remove some debug code that was added in revision 75894, which removed some
other debug code. :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75911 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/acl.c')
-rw-r--r--main/acl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/acl.c b/main/acl.c
index d3aa0c670..e15f4a336 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -334,10 +334,6 @@ int ast_ouraddrfor(struct in_addr *them, struct in_addr *us)
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 @@ int ast_ouraddrfor(struct in_addr *them, struct in_addr *us)
}
close(s);
*us = sin.sin_addr;
- ast_mark(prof, 0);
return 0;
}