Fix incorrect error message

svn:r862
This commit is contained in:
Nick Mathewson 2003-11-21 05:55:03 +00:00
parent 1d9b1550e0
commit 5e9ba094bc

View File

@ -572,7 +572,8 @@ try_next_line:
value++;
if(!*end || !*value) { /* only a key on this line. no value. */
log_fn(LOG_WARN,"Line has keyword '%s' but no value. Skipping.",s);
*end = 0;
log_fn(LOG_WARN,"Line has keyword '%s' but no value. Skipping.",key);
goto try_next_line;
}
*end = 0; /* null it out */