Browse code

delete patch after applying

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2136 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2006/07/28 08:11:38
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Jul 28 01:08:01 CEST 2006 (tk)
2
+----------------------------------
3
+  * freshclam/manager.c: delete patch after applying
4
+
1 5
 Fri Jul 28 00:32:31 CEST 2006 (tk)
2 6
 ----------------------------------
3 7
   * freshclam/manager.c: better handling of status codes from remote servers
... ...
@@ -724,6 +724,7 @@ static int getpatch(const char *dbname, int version, const char *hostname, char
724 724
     }
725 725
 
726 726
     close(fd);
727
+    unlink(patch);
727 728
     chdir(olddir);
728 729
     return 0;
729 730
 }