Removed err_* and sln_* functions; replaced all calls with scr_* functions.
[citadel.git] / citadel / textclient / rooms.c
index a27df07233eab803be331359fe44984a8ec7c34b..34f1fea19a2f30029af5432af09d5be0d7955455 100644 (file)
@@ -788,7 +788,7 @@ int save_buffer(void *file, size_t filelen, const char *pathname)
 
        fp = fopen(pathname, "w");
        if (!fp) {
-               err_printf("Cannot open '%s': %s\n", pathname, strerror(errno));
+               scr_printf("Cannot open '%s': %s\n", pathname, strerror(errno));
                return 0;
        }
        do {
@@ -799,7 +799,7 @@ int save_buffer(void *file, size_t filelen, const char *pathname)
        fclose(fp);
 
        if (bytes_written < filelen) {
-               err_printf("Trouble saving '%s': %s\n", pathname,
+               scr_printf("Trouble saving '%s': %s\n", pathname,
                                strerror(errno));
                return 0;
        }