From: Pekka Riikonen Date: Thu, 20 Jul 2000 05:49:32 +0000 (+0000) Subject: Added default mail directory path. X-Git-Tag: SILC.0.1~425 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=c2685451fe0b2edba2d551daa999b9787a6225e5;p=silc.git Added default mail directory path. --- 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) {