summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a68a75)
raw | patch | inline | side by side (parent: 7a68a75)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Thu, 25 Aug 2011 22:34:06 +0000 (00:34 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Mon, 29 Aug 2011 20:29:56 +0000 (22:29 +0200) |
src/conf.c | patch | blob | history |
diff --git a/src/conf.c b/src/conf.c
index 6c93e1e3a8692c53b0e17c7d13d4f7a5d816d81b..0403559cfe5fe34fc1098ced0d371ab18c6e31a2 100644 (file)
--- a/src/conf.c
+++ b/src/conf.c
bool match_found;
/* get the name part */
- while (i < len && line[i] != '=' &&
- !g_ascii_isspace(line[i])) {
+ while (i < len && line[i] != '=' && !g_ascii_isspace(line[i]))
name[j++] = line[i++];
- }
name[j] = '\0';
match_found = false;
if (!match_found)
- print_error(_("Unknown configuration parameter"),
- name);
+ print_error(_("Unknown configuration parameter"), name);
return match_found;
}