Commit 326b42fa authored by bol-van's avatar bol-van
Browse files

nfqws: debug packet length in sendto()

parent 94d4238a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1747,7 +1747,9 @@ nofix:
	bytes = sendto(sock, data, len, 0, (struct sockaddr*)&dst2, salen);
	if (bytes==-1)
	{
		DLOG_PERROR("rawsend: sendto");
		char s[40];
		snprintf(s,sizeof(s),"rawsend: sendto (%zu)\n",len);
		DLOG_PERROR(s);
		return false;
	}
	return true;