fix bad English in API description ENGINE-320-lr1
authorRoker <roker@pep-project.org>
Fri, 15 Dec 2017 07:59:32 +0100
branchENGINE-320-lr1
changeset 2316997804aa5b86
parent 2315 a5861d8bf480
child 2568 43ee3c5a8e06
fix bad English in API description
src/bloblist.c
src/bloblist.h
     1.1 --- a/src/bloblist.c	Fri Dec 15 07:53:31 2017 +0100
     1.2 +++ b/src/bloblist.c	Fri Dec 15 07:59:32 2017 +0100
     1.3 @@ -70,7 +70,6 @@
     1.4      if (blob_data == NULL)
     1.5          return NULL;
     1.6  
     1.7 -
     1.8      bloblist_t* bloblist = new_own_bloblist(blob_data, size, mime_type, filename);
     1.9      if(!bloblist)
    1.10      {
     2.1 --- a/src/bloblist.h	Fri Dec 15 07:53:31 2017 +0100
     2.2 +++ b/src/bloblist.h	Fri Dec 15 07:59:32 2017 +0100
     2.3 @@ -64,8 +64,9 @@
     2.4  //      pointer to new bloblist_t or NULL if out of memory
     2.5  //
     2.6  //  caveat:
     2.7 -//      the ownership of the blob data is owned by the Engine. mime_type and filename
     2.8 -//      are being copied, the originals remain in the ownership of the caller
     2.9 +//      the blob data is allocated (and zero-filled) and owned by the
    2.10 +//      Engine, but can be filled by the client.  mime_type and filename are
    2.11 +//      being copied, the originals remain in the ownership of the caller
    2.12  //
    2.13  DYNAMIC_API bloblist_t *new_bloblist_with_allocate(size_t size, const char *mime_type,
    2.14          const char *filename);