aboutsummaryrefslogtreecommitdiffstats
path: root/games/macopix/files/patch-src-mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/macopix/files/patch-src-mail.c')
-rw-r--r--games/macopix/files/patch-src-mail.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/macopix/files/patch-src-mail.c b/games/macopix/files/patch-src-mail.c
new file mode 100644
index 000000000000..d631d7be6aca
--- /dev/null
+++ b/games/macopix/files/patch-src-mail.c
@@ -0,0 +1,20 @@
+--- src/mail.c.orig 2008-05-24 01:14:42.000000000 +0200
++++ src/mail.c 2013-09-13 17:37:30.649560538 +0200
+@@ -1422,7 +1422,7 @@
+ froms=strbuf(NULL);
+
+ if((fp=fopen(mascot->mail.file,"r"))==NULL){
+- return;
++ return(NULL);
+ }
+
+ while(!feof(fp)){
+@@ -1545,7 +1545,7 @@
+ froms=strbuf(NULL);
+
+ if ((dp=opendir(mascot->mail.file))==NULL){
+- return;
++ return(NULL);
+ }
+
+