]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Remove call to myunlock, since it's closed right after
authormmj <none@none>
Thu, 13 Jan 2005 19:32:18 +0000 (06:32 +1100)
committermmj <none@none>
Thu, 13 Jan 2005 19:32:18 +0000 (06:32 +1100)
src/mlmmj-maintd.c

index f40b56f46349b8a727ecbbced8bfe5f6390302b8..1516a8f11e949ce1ebc04baea816ac07d403f96d 100644 (file)
@@ -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;