Little problem in startinnfeed

Jeffrey M. Vinocur jeff at litech.org
Wed Jul 11 14:55:27 UTC 2001



On Wed, 11 Jul 2001, Sven Paulus wrote:

> startinnfeed of current snapshots segfaults when startinnfeed is called
> without arguments.

Pffft.  Yes, I imagine it does.  I don't believe I did that.


> The fix is to use
>     if ((argc > 1) && (strcmp(argv[1],"imapfeed") == 0))
> instead of
>     if ((argc > 0) && (strcmp(argv[1],"imapfeed") == 0))

Correct.  Nice catch.



-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-bugs mailing list