* move arround some files in the configured build according to the suggestions of...
[citadel.git] / citadel / serv_vandelay.c
index ccbf04b4c0687caadcf7b769a72b451dfcdb427c..b8ab892f06b533c98baf7d058915b3282542f2a6 100644 (file)
@@ -231,7 +231,7 @@ void artv_export_message(long msgnum) {
 
        /* write it in base64 */
        CtdlMakeTempFileName(tempfile, sizeof tempfile);
-       snprintf(buf, sizeof buf, "%sbase64 -e >%s", ctdl_sbin_dir, tempfile);
+       snprintf(buf, sizeof buf, "%s -e >%s", file_base64, tempfile);
        fp = popen(buf, "w");
        fwrite(smr.ser, smr.len, 1, fp);
        pclose(fp);
@@ -615,7 +615,7 @@ void artv_import_message(void) {
 
        /* decode base64 message text */
        CtdlMakeTempFileName(tempfile, sizeof tempfile);
-       snprintf(buf, sizeof buf, "%sbase64 -d >%s", ctdl_sbin_dir, tempfile);
+       snprintf(buf, sizeof buf, "%s -d >%s", file_base64, tempfile);
        fp = popen(buf, "w");
        while (client_getln(buf, sizeof buf), strcasecmp(buf, END_OF_MESSAGE)) {
                fprintf(fp, "%s\n", buf);