1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

fix build on FreeBSD 4

Noted by:	Adi Pircalabu<apircalabu@bitdefender.com>
PR:		107427
This commit is contained in:
Oliver Lehmann 2007-01-02 13:20:55 +00:00
parent b1e0e84b34
commit 3e6a8b0c2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181273

View File

@ -0,0 +1,18 @@
--- maildir/maildirfilter.c.orig Tue Jan 2 13:47:39 2007
+++ maildir/maildirfilter.c Tue Jan 2 13:48:14 2007
@@ -81,6 +81,7 @@
int *errcode)
{
const char *c;
+struct maildirfilterrule *pom;
/*
** Before creating a new rule, validate all input.
@@ -101,7 +102,6 @@
/* rule name: may not already exist */
*errcode=MF_ERR_EXISTS;
- struct maildirfilterrule *pom;
for (pom=r->first; pom->next; pom=pom->next) {
if (p!=pom && !strcmp(name, pom->rulename))
return (-1);