瀏覽代碼

more debugging

Jiri Kuthan 22 年之前
父節點
當前提交
548d11fb8c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      msg_translator.c

+ 3 - 0
msg_translator.c

@@ -1160,6 +1160,9 @@ skip_clen:
 
 	/* compute new msg len and fix overlapping zones*/
 	new_len=len+lumps_len(msg, send_sock);
+#ifdef XL_DEBUG
+	LOG(L_ERR, "DEBUG: new_len(%d)=len(%d)+lumps_len\n", new_len, len);
+#endif
 
 	if (msg->new_uri.s){
 		uri_len=msg->new_uri.len;