svn commit: samba r1520 - branches/SAMBA_4_0/source/smbd

Stefan (metze) Metzmacher metze at samba.org
Thu Jul 15 17:43:50 GMT 2004


tridge at samba.org schrieb:

> Author: tridge
> Date: 2004-07-15 10:16:40 +0000 (Thu, 15 Jul 2004)
> New Revision: 1520
> 
> Modified:
>    branches/SAMBA_4_0/source/smbd/service.c
> Log:
> only call write handler or read handler, not both. This copes with the
> connection being removed between calls.

would it be a good idea to use

if ((fde->ref_count > 1)&&(falgs | EVENT_READ_FLAG)) {
	conn->service->ops->recv_handler():
}



-- 
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-cvs/attachments/20040715/6b0fa808/signature.bin


More information about the samba-cvs mailing list