refresh patches, make madwifi-dfs compile on linux 2.4 again
[openwrt/svn-archive/archive.git] / package / busybox / patches / 244-socket_leak.patch
1 Index: busybox-1.7.2/networking/udhcp/socket.c
2 ===================================================================
3 --- busybox-1.7.2.orig/networking/udhcp/socket.c 2007-10-30 15:35:00.000000000 -0500
4 +++ busybox-1.7.2/networking/udhcp/socket.c 2007-10-30 15:35:02.000000000 -0500
5 @@ -78,6 +78,7 @@
6 DEBUG("adapter hardware address %02x:%02x:%02x:%02x:%02x:%02x",
7 arp[0], arp[1], arp[2], arp[3], arp[4], arp[5]);
8 }
9 + close(fd);
10
11 close(fd);
12 return 0;