aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:51:35 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-05-04 21:51:35 +0000
commit41c5f4d17bad0341233975444d2945bfa10a08f0 (patch)
tree892e39b6f5cbf6d09766f4116650a9b9b6ece627
parent3451acec83c61ea4dae4ee67dba051546fad1359 (diff)
downloadfetchmail-41c5f4d17bad0341233975444d2945bfa10a08f0.tar.gz
fetchmail-41c5f4d17bad0341233975444d2945bfa10a08f0.tar.bz2
fetchmail-41c5f4d17bad0341233975444d2945bfa10a08f0.zip
Rename use_stderr -> unbuffered (more descriptive).
svn path=/branches/BRANCH_6-3/; revision=5284
-rw-r--r--report.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/report.c b/report.c
index 783ed48a..e98d0f13 100644
--- a/report.c
+++ b/report.c
@@ -43,7 +43,7 @@
static unsigned int partial_message_size = 0;
static unsigned int partial_message_size_used = 0;
static char *partial_message;
-static unsigned use_stderr;
+static unsigned unbuffered;
static unsigned int use_syslog;
/* This variable is incremented each time `report' is called. */
@@ -163,18 +163,18 @@ void report_init(int mode)
{
case 0: /* errfp, buffered */
default:
- use_stderr = FALSE;
+ unbuffered = FALSE;
use_syslog = FALSE;
break;
case 1: /* errfp, unbuffered */
- use_stderr = TRUE;
+ unbuffered = TRUE;
use_syslog = FALSE;
break;
#ifdef HAVE_SYSLOG
case -1: /* syslogd */
- use_stderr = FALSE;
+ unbuffered = FALSE;
use_syslog = TRUE;
break;
#endif /* HAVE_SYSLOG */
@@ -265,7 +265,7 @@ report_build (FILE *errfp, message, va_alist)
}
#endif
- if (use_stderr && partial_message_size_used != 0)
+ if (unbuffered && partial_message_size_used != 0)
{
partial_message_size_used = 0;
fputs(partial_message, errfp);
@@ -336,7 +336,7 @@ report_complete (FILE *errfp, message, va_alist)
/* Finally... print it. */
partial_message_size_used = 0;
- if (use_stderr)
+ if (unbuffered)
{
fputs(partial_message, errfp);
fflush (errfp);