aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-mailnotify/files/patch-mailnotify.c_2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-mailnotify/files/patch-mailnotify.c_2')
-rw-r--r--audio/xmms-mailnotify/files/patch-mailnotify.c_212
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/xmms-mailnotify/files/patch-mailnotify.c_2 b/audio/xmms-mailnotify/files/patch-mailnotify.c_2
new file mode 100644
index 000000000000..9709362ee61a
--- /dev/null
+++ b/audio/xmms-mailnotify/files/patch-mailnotify.c_2
@@ -0,0 +1,12 @@
+--- mailnotify.c.orig Thu Mar 27 14:06:57 2003
++++ mailnotify.c Thu Mar 27 14:08:02 2003
+@@ -489,7 +489,7 @@
+
+ incoming_folder = (gchar *)getenv("MAIL");
+
+- if (strlen(incoming_folder) < 1)
++ if (incoming_folder == NULL || strlen(incoming_folder) < 1)
+ {
+ if((pw = getpwuid(geteuid())) == NULL)
+ {
+