[JDEV] [Fwd: [INFO] bug or perhaps undesirable legacy code in jabberd 1.42]
Jamin W. Collins
jcollins at asgardsrealm.net
Thu Jul 17 12:06:13 CDT 2003
On Wed, Jul 16, 2003 at 09:46:08AM +1000, Robert Norris wrote:
> > > line 124 of jsm/modules/mod_auth_0k.c
>
> > > if(mod_auth_0k_reset(m,m->user->id,m->user->pass));
> > > return M_PASS;
>
> > > Since the line "if(mod_auth_0k_reset(m,m->user->id,m->user->pass));"
> > > ends in a semi-colon, its evaluation is not used to determine whether or
> > > not "return M_PASS;" is called.
> > >
> > > In other words, the 2nd call to xdb_get is never called.
>
> Good catch. Fixed in jabberd14 CVS.
Have there been enough updates (such as this) to CVS to warrant a new
release of the 1.4.x series?
--
Jamin W. Collins
This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar
More information about the JDev
mailing list