diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-12 14:02:32 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-12 14:02:32 +0000 |
commit | edb57a8916649d83262802651eb1ea577b67c775 (patch) | |
tree | 5789fff54a160d5e2ba7b4cf580ca68183ba19df /enum.c | |
parent | f5e7ec262abc1ff84e36b6a30f427894b834b474 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@37432 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -212,12 +212,6 @@ static int parse_naptr(unsigned char *dst, int dstsize, char *tech, int techsize subst = delim2 + 1; regexp[regexp_len-1] = 0; -#if 0 - printf("Pattern: %s\n", pattern); - printf("Subst: %s\n", subst); - printf("Input: %s\n", naptrinput); -#endif - /* * now do the regex wizardry. */ @@ -312,9 +306,6 @@ struct enum_context { static int txt_callback(void *context, char *answer, int len, char *fullanswer) { struct enum_context *c = (struct enum_context *)context; -#if 0 - printf("ENUMTXT Called\n"); -#endif if (answer == NULL) { c->txt = NULL; @@ -364,7 +355,6 @@ static int enum_callback(void *context, char *answer, int len, char *fullanswer) if (p) { c->naptr_rrs = (struct enum_naptr_rr*)p; memcpy(&c->naptr_rrs[c->naptr_rrs_count].naptr, answer, sizeof(struct naptr)); - /* printf("order=%d, pref=%d\n", ntohs(c->naptr_rrs[c->naptr_rrs_count].naptr.order), ntohs(c->naptr_rrs[c->naptr_rrs_count].naptr.pref)); */ c->naptr_rrs[c->naptr_rrs_count].result = strdup(c->dst); c->naptr_rrs[c->naptr_rrs_count].tech = strdup(c->tech); c->naptr_rrs[c->naptr_rrs_count].sort_pos = c->naptr_rrs_count; |