mirror of
https://github.com/modmii/SysCheck-ModMii-Edition.git
synced 2024-11-22 08:09:19 +01:00
11 lines
336 B
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) {
|