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 {
|
||||
if(uip_poll()) {
|
||||
tcp_markconn(uip_conn, ++(char *)ts);
|
||||
if(ts == (char *)10) {
|
||||
uip_close();
|
||||
} else {
|
||||
tcp_markconn(uip_conn, (char *)ts + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user