aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-18 21:14:46 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-18 21:14:46 +0000
commit5bb0f4bcd38fb6eafb083cd8042869c3bc665851 (patch)
treea8eb83df9dbbdd6e318252a41b40b944611f8a2e /networking
parent026684c09b7ec9626cae71b8f3f0b7ad85b377e7 (diff)
downloadbusybox-w32-5bb0f4bcd38fb6eafb083cd8042869c3bc665851.tar.gz
busybox-w32-5bb0f4bcd38fb6eafb083cd8042869c3bc665851.tar.bz2
busybox-w32-5bb0f4bcd38fb6eafb083cd8042869c3bc665851.zip
"Unify base64 handling" is done, remove TODO
git-svn-id: svn://busybox.net/trunk/busybox@18492 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 1f7c886de..d8ea483eb 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -765,10 +765,9 @@ static void setenv_long(const char *name, long value)
765 ****************************************************************************/ 765 ****************************************************************************/
766static void decodeBase64(char *Data) 766static void decodeBase64(char *Data)
767{ 767{
768
769 const unsigned char *in = (const unsigned char *)Data; 768 const unsigned char *in = (const unsigned char *)Data;
770 // The decoded size will be at most 3/4 the size of the encoded 769 // The decoded size will be at most 3/4 the size of the encoded
771 unsigned long ch = 0; 770 unsigned ch = 0;
772 int i = 0; 771 int i = 0;
773 772
774 while (*in) { 773 while (*in) {
@@ -798,7 +797,7 @@ static void decodeBase64(char *Data)
798 i = 0; 797 i = 0;
799 } 798 }
800 } 799 }
801 *Data = 0; 800 *Data = '\0';
802} 801}
803#endif 802#endif
804 803