Changeset d5c1051 in mainline for uspace/lib/http/src/response.c


Ignore:
Timestamp:
2017-12-20T22:25:34Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39b54fe
Parents:
8610c2c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
Message:

"Obviously harmless" error handling tweaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/http/src/response.c

    r8610c2c rd5c1051  
    5454        recv_mark(rb, &start);
    5555        int rc = recv_while(rb, is_digit);
    56         if (rc < 0) {
     56        if (rc != EOK) {
    5757                recv_unmark(rb, &start);
    5858                return rc;
     
    149149       
    150150        rc = recv_while(rb, is_not_newline);
    151         if (rc < 0) {
     151        if (rc != EOK) {
    152152                recv_unmark(rb, &msg_start);
    153153                return rc;
Note: See TracChangeset for help on using the changeset viewer.