Ignore:
Timestamp:
Sep 30, 2007, 3:42:50 AM (18 years ago)
Author:
Paul Smedley
Message:

Update trunk to 3.2.0pre1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/data_blob.c

    r39 r77  
    77   This program is free software; you can redistribute it and/or modify
    88   it under the terms of the GNU General Public License as published by
    9    the Free Software Foundation; either version 2 of the License, or
     9   the Free Software Foundation; either version 3 of the License, or
    1010   (at your option) any later version.
    1111   
     
    1616   
    1717   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/>.
    2019*/
    2120
    2221#include "includes.h"
     22
     23const DATA_BLOB data_blob_null = { NULL, 0, NULL };
    2324
    2425/*******************************************************************
     
    7374                ret.data = (uint8 *)TALLOC_MEMDUP(mem_ctx, p, length);
    7475                if (ret.data == NULL)
    75                         smb_panic("data_blob_talloc: TALLOC_MEMDUP failed.\n");
     76                        smb_panic("data_blob_talloc: TALLOC_MEMDUP failed");
    7677        } else {
    7778                ret.data = (uint8 *)TALLOC(mem_ctx, length);
    7879                if (ret.data == NULL)
    79                         smb_panic("data_blob_talloc: talloc failed.\n");
     80                        smb_panic("data_blob_talloc: TALLOC failed");
    8081        }
    8182
Note: See TracChangeset for help on using the changeset viewer.