cant cancel Issues

Jeffrey M. Vinocur jeff at litech.org
Tue Feb 5 23:41:52 UTC 2002


On Wed, 6 Feb 2002, Katsuhiro Kondou wrote:

> In article <Pine.LNX.4.33.0202051419510.12161-100000 at marduk.litech.org>,
> 	"Jeffrey M. Vinocur" <jeff at litech.org> wrote;
>
> } tradspool, and pursuing it I'm finding that although SMcancel is returning
> } nonzero, SMerrno is set to zero.  Anybody know what this is?
>
> Is SMcancel really returning nonzero?  The messege should not
> be shown if so.

Sorry, backwards.  (I get exit codes and function return values mixed up
when I'm not paying attention.)  Code is

  if (!SMcancel(token) && SMerrno != SMERR_NOENT && SMerrno != SMERR_UNINIT)
    syslog(L_ERROR, "%s cant cancel %s (SMerrno %d)", LogName,
        TokenToText(token), SMerrno);

and it logs like this:

    Feb  5 18:05:04 marduk innd: SERVER cant cancel
    @05000000037D000067340000000000000000@ (SMerrno 0)

So then SMcancel is returning zero, of course.


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list