diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-05-16 19:40:46 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-05-16 19:40:46 +0000 |
commit | f75b7e3a2f01c56555fcd65d95ed12e412181008 (patch) | |
tree | 5504e52a7d299eca6aa721f7c0010d06c2e15ceb /usr.bin | |
parent | b93e7a86db144bb6042f817bf19112233e899373 (diff) |
In remote setup, write sent files to inlog (if specified) instead of outlog.
Matches GNU CVS' behaviour. From Tobias Stoeckmann.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/remote.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/remote.c b/usr.bin/cvs/remote.c index 9d5452e0e1c..63bb416478c 100644 --- a/usr.bin/cvs/remote.c +++ b/usr.bin/cvs/remote.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remote.c,v 1.14 2007/02/22 06:42:09 otto Exp $ */ +/* $OpenBSD: remote.c,v 1.15 2007/05/16 19:40:45 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -188,9 +188,8 @@ cvs_remote_send_file(const char *path) if (rw != ret) fatal("failed to write %zu bytes", ret); - if (cvs_server_active == 0 && - cvs_client_outlog_fd != -1) - (void)write(cvs_client_outlog_fd, data, ret); + if (cvs_server_active == 0 && cvs_client_inlog_fd != -1) + (void)write(cvs_client_inlog_fd, data, ret); total += ret; } |