diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-08-29 13:07:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:03:10 -0500 |
commit | 0b91f3916430d0271eab867675d44c5439de40c2 (patch) | |
tree | 8740c4d73ec89cd60125117ed45e80b771e9e06b /source4/web_server/http.c | |
parent | b867b3c1470ee260fe2fd14f628728f01f7917ac (diff) | |
download | samba-0b91f3916430d0271eab867675d44c5439de40c2.tar.gz samba-0b91f3916430d0271eab867675d44c5439de40c2.tar.bz2 samba-0b91f3916430d0271eab867675d44c5439de40c2.zip |
r24780: More work allowing libutil to be used by external users.
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
Diffstat (limited to 'source4/web_server/http.c')
-rw-r--r-- | source4/web_server/http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/web_server/http.c b/source4/web_server/http.c index d5d78544e0..502d5de2d0 100644 --- a/source4/web_server/http.c +++ b/source4/web_server/http.c @@ -196,9 +196,8 @@ static int http_mapToStorage(EspHandle handle, char *path, int len, const char * static int http_writeBlock(EspHandle handle, const char *buf, int size) { struct websrv_context *web = talloc_get_type(handle, struct websrv_context); - NTSTATUS status; - status = data_blob_append(web, &web->output.content, buf, size); - if (!NT_STATUS_IS_OK(status)) return -1; + if (!data_blob_append(web, &web->output.content, buf, size)) + return -1; return size; } |