ithewei 6 vuotta sitten
vanhempi
commit
04c298403d
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      examples/server.cpp

+ 0 - 4
examples/server.cpp

@@ -22,10 +22,6 @@ void on_close(hio_t* io) {
     printf("on_close fd=%d error=%d\n", io->fd, io->error);
 }
 
-void on_write(hio_t* io, const void* buf, int writebytes, void* userdata) {
-    printf("on_write fd=%d writebytes=%d\n", io->fd, writebytes);
-}
-
 void on_read(hio_t* io, void* buf, int readbytes) {
     printf("on_read fd=%d readbytes=%d\n", io->fd, readbytes);
     printf("< %s\n", buf);