[PC-BSD Commits] r2067 - pcbsd/trunk/libpcbsd

svn at pcbsd.org svn at pcbsd.org
Mon Jun 9 08:46:37 PDT 2008


Author: tim
Date: 2008-06-09 08:46:37 -0700 (Mon, 09 Jun 2008)
New Revision: 2067

Modified:
   pcbsd/trunk/libpcbsd/netif.cpp
Log:
Remove unneeded memset, FreeBSD7 doesn't like it

Modified: pcbsd/trunk/libpcbsd/netif.cpp
===================================================================
--- pcbsd/trunk/libpcbsd/netif.cpp	2008-06-09 15:31:33 UTC (rev 2066)
+++ pcbsd/trunk/libpcbsd/netif.cpp	2008-06-09 15:46:37 UTC (rev 2067)
@@ -41,7 +41,6 @@
 {
    QStringList result;
    struct ifaddrs *ifap;
-   memset(&ifap, 0, sizeof(struct ifaddrs));
    getifaddrs(&ifap);
    char ifName[IFNAMSIZ];
    



More information about the Commits mailing list