diff options
| author | David Troy <dave@popvox.com> | 2006-04-14 17:41:07 +0000 |
|---|---|---|
| committer | David Troy <dave@popvox.com> | 2006-04-14 17:41:07 +0000 |
| commit | 65b1273dabf6f8129ebca43bfefb4ec07adcaddc (patch) | |
| tree | 7d59af4e09d59819e8e62daa80c719b3775363b1 /src | |
| parent | b5565ab39789a917f1c9a52324d418cd36b1c292 (diff) | |
| download | astmanproxy-65b1273dabf6f8129ebca43bfefb4ec07adcaddc.tar.gz astmanproxy-65b1273dabf6f8129ebca43bfefb4ec07adcaddc.tar.xz astmanproxy-65b1273dabf6f8129ebca43bfefb4ec07adcaddc.zip | |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/trunk@119 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src')
| -rw-r--r-- | src/astmanproxy.c | 2 | ||||
| -rw-r--r-- | src/http.c | 4 |
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"); @@ -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 |
