aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail21/files/patch-2.1.7_008
blob: 4e050d901c09c564d9757eb37ede237f611978e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: modules/sortsieve.c
===================================================================
--- modules/sortsieve.c	(revision 2218)
+++ modules/sortsieve.c	(revision 2219)
@@ -200,7 +200,7 @@
 	/* If there were any imapflags, set them. */
 	if (flags) {
 		int i, j;
-		msgflags = g_new0(int, IMAP_NFLASGS);
+		msgflags = g_new0(int, IMAP_NFLAGS);
 
 		for (i = 0; flags[i]; i++) { // Loop through all script/user-specified flags.
 			for (j = 0; imap_flag_desc[j]; i++) { // Find the ones we support.
@@ -223,7 +223,7 @@
 	}
 
 	if (msgflags)
-		g_free(msgflasgs);
+		g_free(msgflags);
 
 	return SIEVE2_OK;
 }