aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
Diffstat (limited to 'networking')
-rw-r--r--networking/httpd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 4ffd89c48..4346141ee 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1015,11 +1015,9 @@ static char *encodeString(const char *string)
* Parameter: a pointer to a base64 encoded string.
* Decoded data is stored in-place.
*/
-static void decodeBase64(char *Data)
+static void decodeBase64(char *data)
{
- char *eptr = Data;
- decode_base64(&eptr, Data);
- *eptr = '\0';
+ decode_base64(data, NULL)[0] = '\0';
}
#endif