From e9fce7a1d546a4fc32f41582a9a792fde669224e Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 14 Sep 2007 20:54:09 +0000 Subject: do not flush streams: our caller closes the streams flusing them git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@396 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/service.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'nslcd/service.c') diff --git a/nslcd/service.c b/nslcd/service.c index 02f6523..402cc46 100644 --- a/nslcd/service.c +++ b/nslcd/service.c @@ -300,7 +300,6 @@ int nslcd_service_byname(TFILE *fp,MYLDAP_SESSION *session) if (retv==NSLCD_RESULT_SUCCESS) if (write_servent(fp,&result)) return -1; - WRITE_FLUSH(fp); /* we're done */ return 0; } @@ -335,7 +334,6 @@ int nslcd_service_bynumber(TFILE *fp,MYLDAP_SESSION *session) if (retv==NSLCD_RESULT_SUCCESS) if (write_servent(fp,&result)) return -1; - WRITE_FLUSH(fp); /* we're done */ return 0; } @@ -370,7 +368,6 @@ int nslcd_service_all(TFILE *fp,MYLDAP_SESSION *session) } /* write the final result code */ WRITE_INT32(fp,retv); - WRITE_FLUSH(fp); /* FIXME: if a previous call returns what happens to the context? */ _nss_ldap_ent_context_cleanup(&context); /* we're done */ -- cgit v1.2.3