mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
Keep gcc 4.x from complaining about 'lvalue required as increment operand'.
This commit is contained in:
parent
4af9f534cc
commit
c48f8fd39a
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user