@@ -969,7 +969,7 @@ long AsyncServer::_accept(tcp_pcb* pcb, long err){
969
969
}
970
970
971
971
#if ASYNC_TCP_SSL_ENABLED
972
- int8_t AsyncServer::_poll (tcp_pcb* pcb){
972
+ long AsyncServer::_poll (tcp_pcb* pcb){
973
973
if (!tcp_ssl_has_client () && _pending){
974
974
struct pending_pcb * p = _pending;
975
975
if (p->pcb == pcb){
@@ -995,7 +995,7 @@ int8_t AsyncServer::_poll(tcp_pcb* pcb){
995
995
return ERR_OK;
996
996
}
997
997
998
- int8_t AsyncServer::_recv (struct tcp_pcb *pcb, struct pbuf *pb, int8_t err){
998
+ long AsyncServer::_recv (struct tcp_pcb *pcb, struct pbuf *pb, long err){
999
999
if (!_pending)
1000
1000
return ERR_OK;
1001
1001
@@ -1047,11 +1047,11 @@ int AsyncServer::_s_cert(void *arg, const char *filename, uint8_t **buf){
1047
1047
return reinterpret_cast <AsyncServer*>(arg)->_cert (filename, buf);
1048
1048
}
1049
1049
1050
- int8_t AsyncServer::_s_poll (void *arg, struct tcp_pcb *pcb){
1050
+ long AsyncServer::_s_poll (void *arg, struct tcp_pcb *pcb){
1051
1051
return reinterpret_cast <AsyncServer*>(arg)->_poll (pcb);
1052
1052
}
1053
1053
1054
- int8_t AsyncServer::_s_recv (void *arg, struct tcp_pcb *pcb, struct pbuf *pb, int8_t err){
1054
+ long AsyncServer::_s_recv (void *arg, struct tcp_pcb *pcb, struct pbuf *pb, long err){
1055
1055
return reinterpret_cast <AsyncServer*>(arg)->_recv (pcb, pb, err);
1056
1056
}
1057
1057
#endif
0 commit comments