- The big forward port. I probably broke lots of stuff, so please look over any
[ircu2.10.12-pk.git] / ircd / ircd_snprintf.c
index 8706e8069311dc8b9a48fa03b7f811677a546e56..0a762aad3a71bea4f67a2ffc7573bbcc5cccd58f 100644 (file)
@@ -1434,7 +1434,9 @@ adds(struct BufData *buf_p, int s_len, const char *s)
 {
   int overflow = 0;
 
-  while (*s && s_len) { /* while the string exists and has non-zero length */
+  /* while the string exists and has non-zero length */
+  while (s_len && *s)
+  {
     /* poor man's inlining; see addc(), above */
     if (buf_p->limit == 0) { /* We've gone past the limit... */
       buf_p->overflow++;