wangzhengquan
2020-12-21 8b0a8c644f19e97606dfb06a865f56dbad15f95e
src/socket/shm_socket.c
@@ -298,10 +298,10 @@
  }
  SemUtil::inc(socket->mutex);
  
  if (key == socket->key) {
    logger->error( "can not send to your self!");
    return -1;
  }
  // if (key == socket->key) {
  //   logger->error( "can not send to your self!");
  //   return -1;
  // }
  SHMQueue<shm_msg_t> *remoteQueue;
  if ((remoteQueue = _attach_remote_queue(key)) == NULL) {