summaryrefslogtreecommitdiff
path: root/news/tin/patches/patch-ac
blob: 1791a5e2f952ec4593a13a669b2f9ef2a5b99ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ac,v 1.1 2001/05/23 13:15:34 dillo Exp $

--- src/mail.c.orig	Mon Jul  3 13:17:46 2000
+++ src/mail.c	Tue May 22 14:22:33 2001
@@ -62,6 +62,20 @@
 			continue;
 
 		/*
+		 * Update mailgroup info
+		 */
+		if ((ptr = psGrpFind (buf)) != NULL) {
+			if (strcmp(ptr->spooldir, my_spooldir) != 0) {
+				free(ptr->spooldir);
+				ptr->spooldir = my_strdup(my_spooldir);
+			}
+			ptr->xmax = max;
+			ptr->xmin = min;
+
+			continue;
+		}
+
+		/*
 		 * Load mailgroup into group hash table
 		 */
 		if ((ptr = psGrpAdd (buf)) == NULL)