summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches/patch-am
blob: f3400b065e83abcee13114c5cc94defa75c72d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.2 2004/05/13 18:14:34 adam Exp $

--- src/osdep/unix/env_unix.c.orig	2004-04-27 19:53:16.000000000 +0000
+++ src/osdep/unix/env_unix.c
@@ -818,7 +818,7 @@ char *sysinbox ()
 {
   char tmp[MAILTMPLEN];
   if (!sysInbox) {		/* initialize if first time */
-    sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
+    sprintf (tmp,"%s/%s",@SPOOLDIR@,@MAILBOX@);
     sysInbox = cpystr (tmp);	/* system inbox is from mail spool */
   }
   return sysInbox;