diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-28 11:39:53 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-28 11:39:53 +0000 |
commit | 22727b4edc64b26aed850297dbf274bab7fd6c44 (patch) | |
tree | 1456f14c2cff195e87fc8080a741ae05eb2fbe48 /src/common/log.c | |
parent | f7c6ad065e2c433acb3fcccb1e9c7812c262579d (diff) | |
download | tor-22727b4edc64b26aed850297dbf274bab7fd6c44.tar tor-22727b4edc64b26aed850297dbf274bab7fd6c44.tar.gz |
wrong is ok, and right is fine, but in between is apparently
totally unacceptable to me.
svn:r3005
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c index f275d025f..f227ebc39 100644 --- a/src/common/log.c +++ b/src/common/log.c @@ -105,7 +105,7 @@ static int log_tor_version(logfile_t *lf, int reset) tor_snprintf(buf+n, sizeof(buf)-n, "Tor %s opening %slog file.\n", VERSION, is_new?"new ":""); if (fputs(buf, lf->file) == EOF || - fflush(lf->file) == EOF) /* error */ + fflush(lf->file) == EOF) /* error */ return -1; /* failed */ return 0; } @@ -189,7 +189,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap) continue; } if (fputs(buf, lf->file) == EOF || - fflush(lf->file) == EOF) { /* error */ + fflush(lf->file) == EOF) { /* error */ /* don't log the error! Blow away this log entry and continue. */ logfile_t *victim = lf; lf = victim->next; |