Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv4722/src
Modified Files:
util.c
Log Message:
Changed fprintf(stderr, ...)'s to debug_printf()'s. Sorry 'bout that.
Index: util.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/util.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- util.c 7 May 2002 23:12:14 -0000 1.118
+++ util.c 7 May 2002 23:41:30 -0000 1.119
@@ -1287,7 +1287,7 @@
if(!tmpdir) {
if((tmpdir = tempnam(NULL, NULL)) == NULL) {
- fprintf(stderr, "tempnam() failed, error: %d\n", errno);
+ debug_printf("Error: tempnam() failed, error: %d\n", errno);
} else {
char *t = strrchr(tmpdir, '/');
*t = '\0';
@@ -1297,11 +1297,11 @@
if(tmpdir) {
if((*fpath = g_strdup_printf("%s/%s", tmpdir, gaim_mkstemp_templ)) != NULL) {
if((fd = mkstemp(*fpath)) == -1) {
- fprintf(stderr, "Couldn't make \"%s\", error: %d\n", *fpath, errno);
+ debug_printf("Error: Couldn't make \"%s\", error: %d\n", *fpath, errno);
} else {
if((fp = fdopen(fd, "r+")) == NULL) {
close(fd);
- fprintf(stderr, "Couldn't fdopen(), error: %d\n", errno);
+ debug_printf("Error: Couldn't fdopen(), error: %d\n", errno);
}
}
if(!fp) {
|