s3: Use data_blob_null
authorVolker Lendecke <vl@samba.org>
Mon, 2 Aug 2010 13:25:45 +0000 (15:25 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 4 Aug 2010 18:32:50 +0000 (20:32 +0200)
source3/libsmb/clilist.c

index 551c0f278d2ffccaec3028871271b403d7c3f2c6..99dcc3f9c6c421821df088b62326dd574190de22 100644 (file)
@@ -247,7 +247,7 @@ int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
        char *param;
        uint32 resume_key = 0;
        TALLOC_CTX *frame = talloc_stackframe();
-       DATA_BLOB last_name_raw = data_blob(NULL, 0);
+       DATA_BLOB last_name_raw = data_blob_null;
 
        /* NT uses SMB_FIND_FILE_BOTH_DIRECTORY_INFO,
           OS/2 uses SMB_FIND_EA_SIZE. Both accept SMB_FIND_INFO_STANDARD. */