Changeset 07e28f8 in mainline


Ignore:
Timestamp:
2014-08-28T14:40:25Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
52c0b8c
Parents:
3fde837
Message:

Do not crash when there is no hound target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/client.c

    r3fde837 r07e28f8  
    243243                if (ret != EOK)
    244244                        return ret;
     245                if (count == 0)
     246                        return ENOENT;
    245247                target = tgt[0];
    246248        }
Note: See TracChangeset for help on using the changeset viewer.