Date: Wed, 8 Aug 2007 13:59:06 GMT From: Fredrik Lindberg <fli@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 124899 for review Message-ID: <200708081359.l78Dx6tL068180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=124899 Change 124899 by fli@fli_nexus on 2007/08/08 13:58:39 Fix faulty logic. Affected files ... .. //depot/projects/soc2007/fli-mdns_sd/mdnsd/stack_util.c#4 edit Differences ... ==== //depot/projects/soc2007/fli-mdns_sd/mdnsd/stack_util.c#4 (text+ko) ==== @@ -343,7 +343,7 @@ p = addr; if (stroc(p, '.') == 3) { while (*p != '\0') { - if (*p != '.' && *p < 48 && *p > 57) + if ((*p < 48 && *p != '.') || *p > 57) break; p++; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708081359.l78Dx6tL068180>