mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix incorrect error message
svn:r862
This commit is contained in:
parent
1d9b1550e0
commit
5e9ba094bc
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user