summaryrefslogtreecommitdiff
path: root/pipe.h
diff options
context:
space:
mode:
authorilja <ilja@7b491191-dbf0-0310-aff6-d879d4d69008>2004-04-19 13:17:55 +0000
committerilja <ilja@7b491191-dbf0-0310-aff6-d879d4d69008>2004-04-19 13:17:55 +0000
commit9e28215efacd2b324a628e9c48fa66094023e216 (patch)
tree26eed50d80d8d41111ac2f83cf5dfdc8a3b6648d /pipe.h
parent249bfafa861faefbe175088217e9c9367445379e (diff)
changed a lot of small things in pipe.c to include error checking and
fix possible memleaks. git-svn-id: https://svn.ic-s.nl/svn/dbmail/trunk/dbmail@1083 7b491191-dbf0-0310-aff6-d879d4d69008
Diffstat (limited to 'pipe.h')
-rw-r--r--pipe.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pipe.h b/pipe.h
index 842b3d8f..d2f6963a 100644
--- a/pipe.h
+++ b/pipe.h
@@ -53,7 +53,10 @@ int insert_messages(FILE * instream,
/**
* \brief discards all input coming from instream
* \param instream FILE stream holding input from a client
+ * \return
+ * - -1 on error
+ * - 0 on success
*/
-void discard_client_input(FILE * instream);
+int discard_client_input(FILE * instream);
#endif