From 59a1eb48569e58cbd3949cdb8d3069cb315f7af7 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 21 Feb 2002 01:35:00 +0000
Subject: [PATCH] base64out() wasn't closing the attached file (so it couldn't
 be deleted).

---
 src/sbbs3/mime.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sbbs3/mime.c b/src/sbbs3/mime.c
index 7588596ca2..2685efc07a 100644
--- a/src/sbbs3/mime.c
+++ b/src/sbbs3/mime.c
@@ -133,6 +133,7 @@ BOOL base64out(SOCKET socket, char * pathfile)
     if(i!=-1)   /* already printed the last line */
         sockprintf(socket,line);
     sockprintf(socket,"");
+	fclose(fp);
 	return(TRUE);
 }
 
-- 
GitLab