]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_parsecfg: make warning output propose double-quoting
authorDaniel Stenberg <daniel@haxx.se>
Mon, 27 Nov 2023 10:36:43 +0000 (11:36 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 27 Nov 2023 13:02:50 +0000 (14:02 +0100)
commit97ccc4479f77ba3191c64c05d253d422025de5cd
tree8b77049ae9bff155ebf1c9e9b9ef73e8718e3667
parent1b04dfa3719eb5d5dcc666ac83cd86217fa5673c
tool_parsecfg: make warning output propose double-quoting

When the config file parser detects a word that *probably* should be
quoted, mention double-quotes as a possible remedy.

Test 459 verifies.

Proposed-by: Jiehong on github
Fixes #12409
Closes #12412
src/tool_parsecfg.c
tests/data/Makefile.inc
tests/data/test459 [new file with mode: 0644]