From 65b1273dabf6f8129ebca43bfefb4ec07adcaddc Mon Sep 17 00:00:00 2001 From: David Troy Date: Fri, 14 Apr 2006 17:41:07 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/trunk@119 f02b47b9-160a-0410-81a6-dc3441afb0ec --- src/astmanproxy.c | 2 ++ src/http.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit