mini_snmpd: patches are now all merged upstream in 1.4-rc1
[feed/packages.git] / net / mini_snmpd / patches / 104-memset_fix.patch
diff --git a/net/mini_snmpd/patches/104-memset_fix.patch b/net/mini_snmpd/patches/104-memset_fix.patch
deleted file mode 100644 (file)
index 0ed2a2e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/mini_snmpd.c
-+++ b/mini_snmpd.c
-@@ -443,7 +443,7 @@ int main(int argc, char *argv[])
-       /* Store the starting time since we need it for MIB updates */
-       if (gettimeofday(&tv_last, NULL) == -1) {
-               memset(&tv_last, 0, sizeof (tv_last));
--              memset(&tv_sleep, 0, sizeof (&tv_sleep));
-+              memset(&tv_sleep, 0, sizeof (tv_sleep));
-       } else {
-               tv_sleep.tv_sec = g_timeout / 100;
-               tv_sleep.tv_usec = (g_timeout % 100) * 10000;