From c2685451fe0b2edba2d551daa999b9787a6225e5 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 20 Jul 2000 05:49:32 +0000 Subject: [PATCH] Added default mail directory path. --- apps/silc/clientutil.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/silc/clientutil.c b/apps/silc/clientutil.c index 9ab6c912..a68a37e3 100644 --- a/apps/silc/clientutil.c +++ b/apps/silc/clientutil.c @@ -20,6 +20,9 @@ /* * $Id$ * $Log$ + * Revision 1.8 2000/07/20 05:49:32 priikone + * Added default mail directory path. + * * Revision 1.7 2000/07/19 07:07:16 priikone * Search mail by From: * @@ -130,6 +133,10 @@ char *silc_get_mail_path() { char pathbuf[MAXPATHLEN]; char *path; + +#ifndef _PATH_MAILDIR +#define _PATH_MAILDIR "/var/mail" +#endif path = getenv("MAIL"); if (path) { -- 2.43.0