Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return body from process_http_response() in oc_text_buf
We can also return the HTTP status code (or -errno) instead of taking a pointer for that, since we don't need to return the buffer length separately. Less manual reallocation, hopefully less scope for bugs. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Jul 24, 2014
1 parent
3e7ae7b
commit 6ad29c1
Showing
1 changed file
with
56 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters