mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-10 08:25:23 +00:00
Keep gcc 4.x from complaining about 'lvalue required as increment operand'.
This commit is contained in:
@@ -393,9 +393,10 @@ telnetd_appcall(void *ts)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(uip_poll()) {
|
if(uip_poll()) {
|
||||||
tcp_markconn(uip_conn, ++(char *)ts);
|
|
||||||
if(ts == (char *)10) {
|
if(ts == (char *)10) {
|
||||||
uip_close();
|
uip_close();
|
||||||
|
} else {
|
||||||
|
tcp_markconn(uip_conn, (char *)ts + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user