]> granicus.if.org Git - curl/commit
parseconfig: warn if unquoted white spaces are detected
authorDaniel Stenberg <daniel@haxx.se>
Mon, 9 Dec 2013 07:19:04 +0000 (08:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Dec 2013 22:30:09 +0000 (23:30 +0100)
commit41d21e460fc0455c01577ea5d88d89fdfe216a10
tree96836f2bdb705d34bdd380fc0538242a511960ed
parentaadca7f41808a205dcad797959e8c17d3083dacb
parseconfig: warn if unquoted white spaces are detected

Commit 0db811b6 made some existing config files pass on unexpected
values to libcurl that made it somewhat hard to track down what was
really going on.

This code detects unquoted white spaces in the parameter when parsing a
config file as that would be one symptom and it is generally a bad
syntax anyway.
src/tool_parsecfg.c