wangzhengquan
2021-02-04 f7337200b6703c9d64f49efc0bc571a13d479973
src/socket/shm_socket.cpp
@@ -247,7 +247,7 @@
 * 
 */
int shm_recvandsend(shm_socket_t *sockt, void **recvbuf, int *recvsize, int *key, recv_callback_fn callback, 
  const struct timespec *timeout, int flag) {
  const struct timespec *timeout, int flag, void *user_data) {
  
  int rv;
 
@@ -281,7 +281,7 @@
  mm_free(recvpak.buf);
  callback(&sendbuf, &sendsize);
  callback(&sendbuf, &sendsize, user_data);
  shm_packet_t sendpak;
  sendpak.key = sockt->key;