main: fix cork on trigger

This commit is contained in:
Thomas Schoebel-Theuer 2020-10-23 10:39:21 +02:00
parent b3111a9c6a
commit d7adec9f1a
1 changed files with 2 additions and 2 deletions

View File

@ -2844,7 +2844,7 @@ int peer_thread(void *data)
pause_time = 0;
MARS_DBG("sending notify to peer...\n");
cmd.cmd_code = CMD_NOTIFY;
status = mars_send_cmd(&peer->socket, &cmd, true);
status = mars_send_cmd(&peer->socket, &cmd, false);
}
mutex_lock(&peer->peer_lock);
@ -2858,7 +2858,7 @@ int peer_thread(void *data)
cmd.cmd_code = CMD_PUSH_LINK;
cmd.cmd_str1 = push->src;
cmd.cmd_str2 = push->dst;
status = mars_send_cmd(&peer->socket, &cmd, true);
status = mars_send_cmd(&peer->socket, &cmd, false);
MARS_INF("PUSH_LINK '%s' '%s' status=%d\n",
cmd.cmd_str1,
cmd.cmd_str2,