blob: 0e1e3b74133b13f7c8e40d0fe8da23e798d762f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-am,v 1.7 1999/02/10 15:13:38 frueauf Exp $
--- imap/src/osdep/unix/env_unix.c.sma Sun Jan 31 02:25:32 1999
+++ imap/src/osdep/unix/env_unix.c Sun Jan 31 02:27:14 1999
@@ -547,6 +547,13 @@
char *sysinbox ()
{
char tmp[MAILTMPLEN];
+ char *t;
+
+ if (!sysInbox) {
+ t = getenv("MAIL");
+ if (t != NULL)
+ sysInbox = cpystr(t);
+ }
if (!sysInbox) { /* initialize if first time */
sprintf (tmp,"%s/%s",MAILSPOOL,myusername ());
sysInbox = cpystr (tmp); /* system inbox is from mail spool */
|