svn commit: samba r22844 - in branches: SAMBA_3_0/source/auth SAMBA_3_0/source/include SAMBA_3_0/source/lib SAMBA_3_0/source/libads SAMBA_3_0/source/libsmb SAMBA_3_0/source/nsswitch SAMBA_3_0/source/passdb SAMBA_3_0/source/printing SAMBA_3_0/source/rpc_client SAMBA_3_0/source/rpc_parse SAMBA_3_0/source/rpc_server SAMBA_3_0/source/smbd SAMBA_3_0/source/utils SAMBA_3_0_26/source/auth SAMBA_3_0_26/source/include SAMBA_3_0_26/source/lib SAMBA_3_0_26/source/libads SAMBA_3_0_26/source/libsmb SAMBA_3_0_26/source/nsswitch SAMBA_3_0_26/source/passdb SAMBA_3_0_26/source/printing SAMBA_3_0_26/source/rpc_client SAMBA_3_0_26/source/rpc_parse SAMBA_3_0_26/source/rpc_server SAMBA_3_0_26/source/smbd SAMBA_3_0_26/source/utils

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon May 14 12:45:02 GMT 2007


On Mon, May 14, 2007 at 10:24:10PM +1000, Andrew Bartlett wrote:
> > Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; and
> > replace all data_blob(NULL, 0) calls.
> 
> Why?

Because in my next checkin I need a pointer to a NULL data
blob as an argument for messaging_send(). A temporary
variable just for this reason is a bit overkill I think.

Any reasons why this is a bad idea?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070514/bb2ced92/attachment.bin


More information about the samba-technical mailing list