diff options
author | ilja <ilja@7b491191-dbf0-0310-aff6-d879d4d69008> | 2004-04-19 13:17:55 +0000 |
---|---|---|
committer | ilja <ilja@7b491191-dbf0-0310-aff6-d879d4d69008> | 2004-04-19 13:17:55 +0000 |
commit | 9e28215efacd2b324a628e9c48fa66094023e216 (patch) | |
tree | 26eed50d80d8d41111ac2f83cf5dfdc8a3b6648d /pipe.h | |
parent | 249bfafa861faefbe175088217e9c9367445379e (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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |