]> code.citadel.org Git - citadel.git/blobdiff - citadel/textclient/rooms.c
Removed err_* and sln_* functions; replaced all calls with scr_* functions.
[citadel.git] / citadel / textclient / rooms.c
index 3bd9698dcdda95d7f1f849e0b82808252679c406..34f1fea19a2f30029af5432af09d5be0d7955455 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Client-side functions which perform room operations
  *
  * Copyright (c) 1987-2010 by the citadel.org team
@@ -790,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 {
@@ -801,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;
        }