summaryrefslogtreecommitdiff
path: root/nslcd/protocol.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-09-14 20:54:09 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-09-14 20:54:09 +0000
commite9fce7a1d546a4fc32f41582a9a792fde669224e (patch)
tree6e5b4045c431307d688866c9bd818cb0245d2059 /nslcd/protocol.c
parent4a6c9a3248ca675cf8b9d5610a64fd2c73eedc34 (diff)
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
Diffstat (limited to 'nslcd/protocol.c')
-rw-r--r--nslcd/protocol.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nslcd/protocol.c b/nslcd/protocol.c
index d4daec2..37346d9 100644
--- a/nslcd/protocol.c
+++ b/nslcd/protocol.c
@@ -185,7 +185,6 @@ int nslcd_protocol_byname(TFILE *fp,MYLDAP_SESSION *session)
if (retv==NSLCD_RESULT_SUCCESS)
if (write_protoent(fp,&result))
return -1;
- WRITE_FLUSH(fp);
/* we're done */
return 0;
}
@@ -218,7 +217,6 @@ int nslcd_protocol_bynumber(TFILE *fp,MYLDAP_SESSION *session)
if (retv==NSLCD_RESULT_SUCCESS)
if (write_protoent(fp,&result))
return -1;
- WRITE_FLUSH(fp);
/* we're done */
return 0;
}
@@ -253,7 +251,6 @@ int nslcd_protocol_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 */