src/transport_test.c
changeset 196 873796250c60
parent 182 471ca1e744da
equal deleted inserted replaced
195:42aedce3e2eb 196:873796250c60
   350 
   350 
   351     // update write_vec
   351     // update write_vec
   352     buf->write_vec = buf->vecs;
   352     buf->write_vec = buf->vecs;
   353 }
   353 }
   354 
   354 
       
   355 void transport_test_async_error (struct transport_test *tp, const error_t *err)
       
   356 {
       
   357     transport_error(&tp->base, err);
       
   358 }
       
   359 
   355 void transport_test_destroy (struct transport_test *tp)
   360 void transport_test_destroy (struct transport_test *tp)
   356 {
   361 {
   357     // free the buffers
   362     // free the buffers
   358     io_buf_destroy(&tp->send_buf);
   363     io_buf_destroy(&tp->send_buf);
   359     io_buf_destroy(&tp->recv_buf);
   364     io_buf_destroy(&tp->recv_buf);