# HG changeset patch # User Jim Seymour # Date 1020814890 0 # Node ID cf460a8c859c6bc04c4076e9f6f981f502a72004 # Parent b913fc07e18a4a4054ed45dd183f8d0db977c38a [gaim-migrate @ 3249] Changed fprintf(stderr, ...)'s to debug_printf()'s. Sorry 'bout that. committer: Tailor Script diff -r b913fc07e18a -r cf460a8c859c src/util.c --- a/src/util.c Tue May 07 23:13:20 2002 +0000 +++ b/src/util.c Tue May 07 23:41:30 2002 +0000 @@ -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) {