INN commit: trunk/innd (art.c)
INN Commit
Russ_Allbery at isc.org
Fri Apr 3 19:12:22 UTC 2009
Date: Friday, April 3, 2009 @ 12:12:22
Author: iulius
Revision: 8398
Allow an empty distributions list (otherwise, the function
always returns false).
Modified:
trunk/innd/art.c
-------+
art.c | 5 +++++
1 file changed, 5 insertions(+)
Modified: art.c
===================================================================
--- art.c 2009-04-03 19:05:51 UTC (rev 8397)
+++ art.c 2009-04-03 19:12:22 UTC (rev 8398)
@@ -1399,6 +1399,11 @@
static bool
DISTwantany(char **site, char **article)
{
+ /* An empty distributions list is allowed. */
+ if (*article == NULL) {
+ return true;
+ }
+
for ( ; *article; article++)
if (DISTwanted(site, *article))
return true;
More information about the inn-committers
mailing list