X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=textclient%2Fclient_passwords.c;h=040e1783f52cf92875963dffcfb4775936072238;hp=6187a7cd3c4ddd3ef3aa5bf6ae75610d24bff1ac;hb=aa9b5f5703df6306f22168227edbfa6e13d9f9cf;hpb=bffaaea7b264bbad0ff7d114955ab6a8419d3787 diff --git a/textclient/client_passwords.c b/textclient/client_passwords.c index 6187a7cd3..040e1783f 100644 --- a/textclient/client_passwords.c +++ b/textclient/client_passwords.c @@ -100,13 +100,13 @@ void set_stored_password(char *host, char *port, char *username, char *password) if ((strcasecmp(hostbuf, host)) || (strcasecmp(portbuf, port))) { snprintf(buf, sizeof buf, "%s|%s|%s|%s|", hostbuf, portbuf, ubuf, pbuf); - CtdlEncodeBase64(buf64, buf, strlen(buf), 0); + CtdlEncodeBase64(buf64, buf, strlen(buf), BASE64_NO_LINEBREAKS); fprintf(fp, "%s\n", buf64); } } if (!IsEmptyStr(username)) { snprintf(buf, sizeof buf, "%s|%s|%s|%s|", host, port, username, password); - CtdlEncodeBase64(buf64, buf, strlen(buf), 0); + CtdlEncodeBase64(buf64, buf, strlen(buf), BASE64_NO_LINEBREAKS); fprintf(fp, "%s\n", buf64); } fclose(oldfp);