Skip to content

Commit 44fe966

Browse files
committed
Fix wrong file handler for response write
1 parent eb6378f commit 44fe966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/ctrl_socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static void xdebug_control_socket_handle(void)
349349
xdebug_log_ex(XLOG_CHAN_CONFIG, XLOG_WARN, "CTRL-RECV", "Can't receive from NP: %x", GetLastError());
350350
} else {
351351
xdebug_log_ex(XLOG_CHAN_CONFIG, XLOG_INFO, "CTRL-RECV", "Received: '%s'", buffer);
352-
handle_command(0, buffer);
352+
handle_command(XG_BASE(control_socket_h), buffer);
353353
FlushFileBuffers(XG_BASE(control_socket_h));
354354
}
355355

0 commit comments

Comments
 (0)