use pclose.

Signed-off-by: maximilian attems <[email protected]>
---
 packages/anna/util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/anna/util.c b/packages/anna/util.c
index 6953bc2..3d47730 100644
--- a/packages/anna/util.c
+++ b/packages/anna/util.c
@@ -208,13 +208,13 @@ int md5sum(const char *sum, const char *file) {
        if (fp == NULL)
                return 0;
        if (fgets(line, sizeof(line), fp) != NULL) {
-               fclose(fp);
+               pclose(fp);
                if (strlen(line) < 32)
                        return 0;
                line[32] = '\0';
                return !strcmp(line, sum);
        }
-       fclose(fp);
+       pclose(fp);
        return 0;
 }
 
-- 
1.7.2.3


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to