Added a comment and a variable initialization.
[mmh] / uip / mhbuildsbr.c
index 05f1b35..f65b6e3 100644 (file)
@@ -703,7 +703,7 @@ use_forw:
                        ap = brkstring(ci->ci_magic, " ", "\n");
                        copyip(ap, arguments, MAXARGS);
                } else {
-                       arguments[0] = "cur";
+                       arguments[0] = seq_cur;
                        arguments[1] = NULL;
                }
                folder = NULL;
@@ -1335,7 +1335,7 @@ scan_content(CT ct)
                                        if (!isspace(*cp))
                                                break;
                                *++cp = '\0';
-                               if (!strncmp(buffer + 2, prefix, len) &&
+                               if (strncmp(buffer + 2, prefix, len)==0 &&
                                                isdigit(buffer[2 + len])) {
                                        boundaryclash = 1;
                                        /* no need to keep checking */