On Fri, Feb 21, 2003 at 02:04:25PM +0100, Simo Sorce wrote about 'Re: CVS update: samba/source/lib': > Jelmer, what about returning an NT_STATUS error? All of the current stuff (all the passdb modules and the dynrpc modules) was returning an int. I'm not sure whether these functions should really return an int, but this fixes the current situation. Is there any rule about what functions should return NT_STATUS and what should return BOOL or int?
Jelmer > > On Thu, 2003-02-20 at 23:26, [EMAIL PROTECTED] wrote: > > Date: Thu Feb 20 22:26:28 2003 > > Author: jelmer > > > > Update of /home/cvs/samba/source/lib > > In directory dp.samba.org:/tmp/cvs-serv30763/lib > > > > Modified Files: > > module.c > > Log Message: > > > > Make init_module() and thus smb_load_module() return an int. > > modules/developer.c: init_module() should return an int > > > > > > Revisions: > > module.c 1.6 => 1.7 > > http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/module.c?r1=1.6&r2=1.7 > -- > Simo Sorce - [EMAIL PROTECTED] > Xsec s.r.l. > via Durando 10 Ed. G - 20158 - Milano > tel. +39 02 2399 7130 - fax: +39 02 700 442 399 --
msg04600/pgp00000.pgp
Description: PGP signature