[asterisk-commits] branch 1.2 r28630 - /branches/1.2/enum.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 19 08:52:09 MST 2006


Author: file
Date: Fri May 19 10:52:09 2006
New Revision: 28630

URL: http://svn.digium.com/view/asterisk?rev=28630&view=rev
Log:
Backport of fix for issue #6654 that was fixed in trunk but not here

Modified:
    branches/1.2/enum.c

Modified: branches/1.2/enum.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/enum.c?rev=28630&r1=28629&r2=28630&view=diff
==============================================================================
--- branches/1.2/enum.c (original)
+++ branches/1.2/enum.c Fri May 19 10:52:09 2006
@@ -80,7 +80,7 @@
 } __attribute__ ((__packed__));
 
 /*--- parse_ie: Parse NAPTR record information elements */
-static unsigned int parse_ie(char *data, unsigned int maxdatalen, char *src, unsigned int srclen)
+static unsigned int parse_ie(unsigned char *data, unsigned int maxdatalen, unsigned char *src, unsigned int srclen)
 {
 	unsigned int len, olen;
 
@@ -101,7 +101,7 @@
 }
 
 /*--- parse_naptr: Parse DNS NAPTR record used in ENUM ---*/
-static int parse_naptr(char *dst, int dstsize, char *tech, int techsize, char *answer, int len, char *naptrinput)
+static int parse_naptr(unsigned char *dst, int dstsize, char *tech, int techsize, unsigned char *answer, int len, unsigned char *naptrinput)
 {
 	char tech_return[80];
 	char *oanswer = answer;



More information about the asterisk-commits mailing list