diff options
Diffstat (limited to 'webauth.c')
-rw-r--r-- | webauth.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,7 +44,8 @@ char* string2base64(const char* message) } if (length % 3) - strncat(tmp, "===", 3 - length % 3); + sprintf(tmp+strlen(tmp), "%.*s", (int)(3 - length % 3), "==="); + // strncat(tmp, "===", 3 - length % 3); return tmp; } |