-
-/*
- * vfgets.c -- virtual fgets
+/* vfgets.c -- virtual fgets
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
if (*dp == '\n') {
*bp = pp;
return 0;
- } else {
- cp = ++dp;
}
+ cp = ++dp;
} else {
for (fp = dp - 1, toggle = 0; fp >= cp; fp--) {
if (*fp != QUOTE)
break;
- else
- toggle = !toggle;
+ toggle = !toggle;
}
if (toggle)
goto wrong_guess;