freebsd-ports/security/ADMsmb/files/patch-ADMsmb.c
Martin Wilke cbc4e9a987 - Fix build with gcc41
- Fix pkg-plist

PR:		ports/103957
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2006-10-06 19:22:16 +00:00

11 lines
407 B
C

--- ADMsmb.c.orig Tue Oct 3 19:48:45 2006
+++ ADMsmb.c Tue Oct 3 19:48:49 2006
@@ -139,7 +139,7 @@
{
usleep (100000);
- if (recvfrom (socket_client, buffer2,sizeof(buffer2), 0, (struct sockaddr *) &sin_dst, &(int) longueur) != -1)
+ if (recvfrom (socket_client, buffer2,sizeof(buffer2), 0, (struct sockaddr *) &sin_dst, &longueur) != -1)
{
if (nmb2->rep_num != 0)