[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/modules/mal mal_mapi.mx, , 1.27, 1.28

Fabian Groffen Fabian.Groffen at cwi.nl
Tue May 12 10:50:45 CEST 2009


On 12-05-2009 10:28:05 +0200, Stefan Manegold wrote:
> > -		if (AUTHgetHashAlgorithms(&algos) != MAL_SUCCEED) assert (0);
> > -		/* note that we claim to speak proto 9 here for SHA-1 passwords */
> > -		stream_printf(fdout, "%s:mserver:9:%s:%s",
> > +		assert(AUTHgetHashAlgorithms(&algos) == MAL_SUCCEED);
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This call will only be executed (and hence variable algos initialized,
> in case assertions are enabled.
> 
> Maybe, this is not was you intended...
> 
> (Assertions are (by default) disabled in released binary distributions and
> source tarballs.)

Thank you very much for waking me up, Stefan!




More information about the developers-list mailing list