diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-10-13 17:31:02 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-10-13 17:31:02 +0000 |
commit | 7c7ef9680b7378e12ffdd0bf95ee7ad673bea2f5 (patch) | |
tree | e16ca5b3631e2d4d809f7b1328b82db0d94d7c01 /source/nsswitch/winbindd.c | |
parent | 5eca81c66096a01eda1731892d044c09d4c18556 (diff) | |
download | samba-7c7ef9680b7378e12ffdd0bf95ee7ad673bea2f5.tar.gz samba-7c7ef9680b7378e12ffdd0bf95ee7ad673bea2f5.tar.xz samba-7c7ef9680b7378e12ffdd0bf95ee7ad673bea2f5.zip |
Add a better error message to wb_common.c when unable to connect to a pipe
socket and add a comment to winbindd.c to explain the fancy calculation of
buffer offset.
Diffstat (limited to 'source/nsswitch/winbindd.c')
-rw-r--r-- | source/nsswitch/winbindd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c index 6a0056f917e..4f161604b5d 100644 --- a/source/nsswitch/winbindd.c +++ b/source/nsswitch/winbindd.c @@ -479,6 +479,13 @@ static void client_write(struct winbindd_cli_state *state) int num_written; /* Write some data */ + /* + * The fancy calculation of data below allows us to handle the + * case where write (sys_write) does not write all the data we + * gave it. In that case, we will come back through here again + * because of the loop above us, and we want to pick up where + * we left off. + */ if (!state->write_extra_data) { |