summaryrefslogtreecommitdiffstats
path: root/support/rotatelogs.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2013-11-15 23:03:16 +0100
committerJeff Trawick <trawick@apache.org>2013-11-15 23:03:16 +0100
commit30f8aa646039547fadf1c556b4ad43d6595eaa3f (patch)
tree30b8e64e920b47b91c8ea2a8c5b3d1ba37ca1f79 /support/rotatelogs.c
parentFollow-up to r1540161: (diff)
downloadapache2-30f8aa646039547fadf1c556b4ad43d6595eaa3f.tar.xz
apache2-30f8aa646039547fadf1c556b4ad43d6595eaa3f.zip
more apr_file_write_full() simplification (like r1542413)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--support/rotatelogs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/rotatelogs.c b/support/rotatelogs.c
index 0092e8c711..e4953963fb 100644
--- a/support/rotatelogs.c
+++ b/support/rotatelogs.c
@@ -762,7 +762,7 @@ int main (int argc, const char * const argv[])
status.nMessCount++;
}
if (config.echo) {
- if (apr_file_write_full(f_stdout, buf, nRead, &nWrite)) {
+ if (apr_file_write_full(f_stdout, buf, nRead, NULL)) {
fprintf(stderr, "Unable to write to stdout\n");
exit(4);
}