Changeset 0b0bb4c
- Timestamp:
- 2015-10-08T05:10:19Z (9 years ago)
- Branches:
- master
- Children:
- 687ec88
- Parents:
- 098b430
- git-author:
- Artem Savkov <asavkov@…> (07-10-15 13:13:34)
- git-committer:
- dequis <dx@…> (08-10-15 05:10:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/http_client.c
r098b430 r0b0bb4c 162 162 } 163 163 164 req->func(req); 164 if (req->func != NULL) { 165 req->func(req); 166 } 165 167 http_free(req); 166 168 return FALSE; … … 299 301 } 300 302 301 req->func(req); 303 if (req->func != NULL) { 304 req->func(req); 305 } 302 306 http_free(req); 303 307 return FALSE; … … 412 416 } 413 417 414 if ((req->flags & HTTPC_STREAMING) && req->reply_body ) {418 if ((req->flags & HTTPC_STREAMING) && req->reply_body && req->func != NULL) { 415 419 req->func(req); 416 420 }
Note: See TracChangeset
for help on using the changeset viewer.