Commit in reactos/lib/adns/src on MAIN
transmit.c+2-11.3 -> 1.4
Fix order-of-evalutation bug-to-be

reactos/lib/adns/src
transmit.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- transmit.c	4 Sep 2004 10:51:20 -0000	1.3
+++ transmit.c	22 Dec 2004 22:48:02 -0000	1.4
@@ -99,7 +99,8 @@
 	if (!(flags & adns_qf_quoteok_query)) return adns_s_querydomaininvalid;
 	if (ctype_digit(p[0])) {
 	  if (ctype_digit(p[1]) && ctype_digit(p[2])) {
-	    c= (*p++ - '0')*100 + (*p++ - '0')*10 + (*p++ - '0');
+	    c= (p[0] - '0')*100 + (p[1] - '0')*10 + (p[0] - '0');
+	    p += 3;
 	    if (c >= 256) return adns_s_querydomaininvalid;
 	  } else {
 	    return adns_s_querydomaininvalid;
CVSspam 0.2.8