Browse Source

more debug info

Jiri Kuthan 23 years ago
parent
commit
18abd66c2c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      udp_server.c

+ 3 - 0
udp_server.c

@@ -299,6 +299,9 @@ qa_passed:
 
 again:
 	n=sendto(source->socket, buf, len, 0, &to->s, tolen);
+#ifdef XL_DEBUG
+	LOG(L_INFO, "INFO: send status: %d\n", n);
+#endif
 	if (n==-1){
 		LOG(L_ERR, "ERROR: udp_send: sendto(sock,%p,%d,0,%p,%d): %s(%d)\n",
 				buf,len,to,tolen,