commit | a6c5f4e63325f3a7f653d26aeccb239a35941ed0 | [log] [tgz] |
---|---|---|
author | bigbiff bigbiff <bigbiff@teamw.in> | Tue Sep 17 20:01:14 2013 -0400 |
committer | bigbiff bigbiff <bigbiff@teamw.in> | Tue Sep 17 20:01:14 2013 -0400 |
tree | c404e18bc9c8be6d0f5f3f62dba08cf9d4a270e1 | |
parent | fd44bf2c05e2b51c82c3de22114fa127fdcba919 [diff] |
check for space after = too
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp index fee6fe9..87118bc 100644 --- a/openrecoveryscript.cpp +++ b/openrecoveryscript.cpp
@@ -102,6 +102,8 @@ 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 {