summaryrefslogtreecommitdiff
path: root/mail/imap-uw/patches/patch-am
blob: 5e2f45e168a9331837716d7577ea09824962d18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.1 2003/09/13 18:31:34 kim Exp $

--- src/osdep/unix/env_unix.c.orig	Wed Apr 16 20:14:42 2003
+++ src/osdep/unix/env_unix.c	Sat Sep 13 14:07:00 2003
@@ -804,7 +804,7 @@
 {
   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;