Browse Source

- compile fix for mode=debug

Andrei Pelinescu-Onciul 20 năm trước cách đây
mục cha
commit
eab4338326
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      io_wait.h

+ 1 - 1
io_wait.h

@@ -286,7 +286,7 @@ inline static int io_watch_add(	io_wait_h* h,
 			set_fd_flags(O_ASYNC| O_NONBLOCK);
 #ifdef EXTRA_DEBUG
 			DBG("io_watch_add: sigio_rt on f %d, signal %d to pid %d\n",
-					fd,  h->signo, pid);
+					fd,  h->signo, my_pid());
 #endif
 			/* empty socket receive buffer, if buffer is already full
 			 * (e.g. early media), no more space to put packets