Changeset 77 for trunk/samba/source/lib/data_blob.c
- Timestamp:
- Sep 30, 2007, 3:42:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/lib/data_blob.c
r39 r77 7 7 This program is free software; you can redistribute it and/or modify 8 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 2of the License, or9 the Free Software Foundation; either version 3 of the License, or 10 10 (at your option) any later version. 11 11 … … 16 16 17 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 along with this program. If not, see <http://www.gnu.org/licenses/>. 20 19 */ 21 20 22 21 #include "includes.h" 22 23 const DATA_BLOB data_blob_null = { NULL, 0, NULL }; 23 24 24 25 /******************************************************************* … … 73 74 ret.data = (uint8 *)TALLOC_MEMDUP(mem_ctx, p, length); 74 75 if (ret.data == NULL) 75 smb_panic("data_blob_talloc: TALLOC_MEMDUP failed .\n");76 smb_panic("data_blob_talloc: TALLOC_MEMDUP failed"); 76 77 } else { 77 78 ret.data = (uint8 *)TALLOC(mem_ctx, length); 78 79 if (ret.data == NULL) 79 smb_panic("data_blob_talloc: talloc failed.\n");80 smb_panic("data_blob_talloc: TALLOC failed"); 80 81 } 81 82
Note:
See TracChangeset
for help on using the changeset viewer.