Ignore:
File:
1 edited

Legend:

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

    r28a5ebd r87822ce  
    121121{
    122122        cons_event_t ev;
     123        errno_t rc;
    123124
    124125        printf("Communication started. Press Ctrl-Q to quit.\n");
     
    128129        done = false;
    129130        while (!done) {
    130                 console_get_event(con, &ev);
     131                rc = console_get_event(con, &ev);
     132                if (rc != EOK)
     133                        break;
     134
    131135                if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS)
    132136                        key_handle(&ev.ev.key);
Note: See TracChangeset for help on using the changeset viewer.