Keep gcc 4.x from complaining about 'lvalue required as increment operand'.

This commit is contained in:
Oliver Schmidt 2011-05-22 23:08:40 +02:00
parent 4af9f534cc
commit c48f8fd39a

View File

@ -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);
}
}
}