check for space after = too

This commit is contained in:
bigbiff bigbiff
2013-09-17 20:01:14 -04:00
parent fd44bf2c05
commit a6c5f4e633
+2
View File
@@ -102,6 +102,8 @@ int OpenRecoveryScript::run_script_file(void) {
val_start++; //get rid of space
if ((int) *val_start == 51)
val_start++; //get rid of = at the beginning
if ((int) *val_start == 32)
val_start++; //get rid of space
strncpy(value, val_start, line_len - cindex - remove_nl);
LOGINFO("value is: '%s'\n", value);
} else {