fp = fopen(pwfile, "r");
if (fp == NULL) return;
while (fgets(buf64, sizeof buf64, fp) != NULL) {
- decode_base64(buf, buf64, sizeof(buf64));
+ CtdlDecodeBase64(buf, buf64, sizeof(buf64));
extract(hostbuf, buf, 0);
extract(portbuf, buf, 1);
extract(ubuf, buf, 2);
fp = fopen(pwfile, "w");
if (fp == NULL) fp = fopen("/dev/null", "w");
while (fgets(buf64, sizeof buf64, oldfp) != NULL) {
- decode_base64(buf, buf64, sizeof(buf64));
+ CtdlDecodeBase64(buf, buf64, sizeof(buf64));
extract(hostbuf, buf, 0);
extract(portbuf, buf, 1);
extract(ubuf, buf, 2);