From 1fb376cbb589896c313f56ad64f3de4f2060db07 Mon Sep 17 00:00:00 2001
From: Nick White <git@njw.me.uk>
Date: Tue, 17 Jun 2008 00:48:47 +0100
Subject: Improved error output

---
 src/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

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;
-- 
cgit v1.2.3