SysCheck-ModMii-Edition/conf_patch.diff

11 lines
336 B
Diff

--- conf_original.c 2012-04-13 06:07:24 -0500
+++ conf_fix.c 2013-08-20 20:50:14 -0500
@@ -101,6 +101,7 @@
if(delim && ((delim - line) == nlen) && !memcmp(name, line, nlen)) {
delim++;
end = strchr(line, '\r');
+ if (!end) end = strchr(line, '\n');
if(end) {
slen = end - delim;
if(slen < length) {