summaryrefslogtreecommitdiffstats
path: root/src/http.c
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-14 17:04:46 +0000
committerDavid Troy <dave@popvox.com>2006-04-14 17:04:46 +0000
commit4a3d765cf7402534450fb2ebc045bd5337443194 (patch)
treed79232549fd7ba386009d14f5c1dfffce6fa2b01 /src/http.c
parentce21841e2cf8abb1ba477f7754603b9c8da276c9 (diff)
downloadastmanproxy-4a3d765cf7402534450fb2ebc045bd5337443194.tar.gz
astmanproxy-4a3d765cf7402534450fb2ebc045bd5337443194.tar.xz
astmanproxy-4a3d765cf7402534450fb2ebc045bd5337443194.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.21pre@117 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/http.c')
-rw-r--r--src/http.c4
1 files changed, 2 insertions, 2 deletions
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