Fix minor typos

This commit is contained in:
George Oikonomou 2015-02-15 17:35:29 +01:00
parent 13a5fd8803
commit e596d5104d
2 changed files with 3 additions and 3 deletions

View file

@ -350,7 +350,7 @@ void uip_setipid(uint16_t id);
* Periodic processing for a connection identified by its number. * Periodic processing for a connection identified by its number.
* *
* This function does the necessary periodic processing (timers, * This function does the necessary periodic processing (timers,
* polling) for a uIP TCP conneciton, and should be called when the * polling) for a uIP TCP connection, and should be called when the
* periodic uIP timer goes off. It should be called for every * periodic uIP timer goes off. It should be called for every
* connection, regardless of whether they are open of closed. * connection, regardless of whether they are open of closed.
* *

View file

@ -267,7 +267,7 @@ do_event(void)
receiver = events[fevent].p; receiver = events[fevent].p;
/* Since we have seen the new event, we move pointer upwards /* Since we have seen the new event, we move pointer upwards
and decrese the number of events. */ and decrease the number of events. */
fevent = (fevent + 1) % PROCESS_CONF_NUMEVENTS; fevent = (fevent + 1) % PROCESS_CONF_NUMEVENTS;
--nevents; --nevents;
@ -337,7 +337,7 @@ process_post(struct process *p, process_event_t ev, process_data_t data)
if(p == PROCESS_BROADCAST) { if(p == PROCESS_BROADCAST) {
printf("soft panic: event queue is full when broadcast event %d was posted from %s\n", ev, PROCESS_NAME_STRING(process_current)); printf("soft panic: event queue is full when broadcast event %d was posted from %s\n", ev, PROCESS_NAME_STRING(process_current));
} else { } else {
printf("soft panic: event queue is full when event %d was posted to %s frpm %s\n", ev, PROCESS_NAME_STRING(p), PROCESS_NAME_STRING(process_current)); printf("soft panic: event queue is full when event %d was posted to %s from %s\n", ev, PROCESS_NAME_STRING(p), PROCESS_NAME_STRING(process_current));
} }
#endif /* DEBUG */ #endif /* DEBUG */
return PROCESS_ERR_FULL; return PROCESS_ERR_FULL;