From: mmj Date: Thu, 13 Jan 2005 19:32:18 +0000 (+1100) Subject: Remove call to myunlock, since it's closed right after X-Git-Tag: RELEASE_1_2_0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554f291610e4928a2db3d6bfd92dca709bf442df;p=thirdparty%2Fmlmmj.git Remove call to myunlock, since it's closed right after --- diff --git a/src/mlmmj-maintd.c b/src/mlmmj-maintd.c index f40b56f4..1516a8f1 100644 --- a/src/mlmmj-maintd.c +++ b/src/mlmmj-maintd.c @@ -199,7 +199,6 @@ int discardmail(const char *old, const char *new, time_t age) ret = 1; } - myunlock(fd); close(fd); return ret; } @@ -813,7 +812,6 @@ int run_digests(const char *listdir, const char *mlmmjsend) digestname); myfree(digestname); myfree(s1); - myunlock(fd); close(fd); return 1; } @@ -829,7 +827,6 @@ int run_digests(const char *listdir, const char *mlmmjsend) myfree(digestname); myfree(indexname); myfree(s1); - myunlock(fd); close(fd); return 1; } @@ -841,7 +838,6 @@ int run_digests(const char *listdir, const char *mlmmjsend) myfree(digestname); myfree(indexname); myfree(s1); - myunlock(fd); close(fd); return 1; } @@ -878,7 +874,6 @@ int run_digests(const char *listdir, const char *mlmmjsend) myfree(indexname); myfree(s1); myfree(s2); - myunlock(fd); close(fd); return 0;