summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/astmanproxy.c2
-rw-r--r--src/http.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c
index b84fdad..1c07c66 100644
--- a/src/astmanproxy.c
+++ b/src/astmanproxy.c
@@ -634,7 +634,9 @@ int main(int argc, char *argv[])
ReadConfig();
proxylog = OpenLogfile();
+ debugmsg("loading handlers");
LoadHandlers();
+ debugmsg("loaded handlers");
if (SetProcUID()) {
fprintf(stderr,"Cannot set user/group! Check proc_user and proc_group config setting!\n");
diff --git a/src/http.c b/src/http.c
index b0af09f..a21a7ed 100644
--- a/src/http.c
+++ b/src/http.c
@@ -10,7 +10,7 @@
#include "astmanproxy.h"
// SwapChar: This routine swaps one character for another
-void SwapChar(char * pOriginal, char cBad, char cGood) {
+void SwapChar(char *pOriginal, char cBad, char cGood) {
int i; // generic counter variable
// Loop through the input string (cOriginal), character by
@@ -64,7 +64,7 @@ static int IntFromHex(char *pChars) {
// is a normalized string. It calls the two subroutines directly
// above in this listing, IntFromHex() and SwapChar().
-void URLDecode(unsigned char *pEncoded) {
+void URLDecode(char *pEncoded) {
char *pDecoded; // generic pointer
// First, change those pesky plusses to spaces