Changes in uspace/app/ping/ping.c [87822ce:a35b458] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/ping/ping.c

    r87822ce ra35b458  
    196196        while (true) {
    197197                cons_event_t ev;
    198                 errno_t rc;
    199                 rc = console_get_event(con, &ev);
    200                 if (rc != EOK) {
    201                         ping_signal_received(RECEIVED_INTERRUPT);
    202                         break;
    203                 }
     198                if (!console_get_event(con, &ev))
     199                        break;
    204200
    205201                if ((ev.type == CEV_KEY) && (ev.ev.key.type == KEY_PRESS) &&
Note: See TracChangeset for help on using the changeset viewer.