summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2008-06-17 00:48:47 +0100
committerNick White <git@njw.me.uk>2008-06-17 00:48:47 +0100
commit1fb376cbb589896c313f56ad64f3de4f2060db07 (patch)
tree253f1a2f1c98a3308e33975737de63fce9659376
parentfc286ecd4bdf6e00a39b22cfa9573ff896e480b6 (diff)
Improved error output
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 1f02b4b..2d537ce 100644
--- a/src/config.c
+++ b/src/config.c
@@ -79,7 +79,7 @@ int loadconfig(char * getht_path, struct config * options)
options->proxy.auth = CURLAUTH_NTLM;
else
fprintf(stderr,
- "Proxy authentication method %s not known, please use basic, digest or ntlm",
+ "config.ini: Proxy authentication method %s not known, please use basic, digest or ntlm",
parameter);
}
else if(!strcmp(option, "proxy_user"))
@@ -87,7 +87,7 @@ int loadconfig(char * getht_path, struct config * options)
else if(!strcmp(option, "proxy_pass"))
strncpy(options->proxy.pass, parameter, STR_MAX);
else
- fprintf(stderr, "Option '%s' not recognised, ignoring\n", option);
+ fprintf(stderr, "config.ini: Option '%s' not recognised, ignoring\n", option);
}
return 0;