]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix a build issue with `--enable-mallinfo` (Issue #5051)
authorMichael Sweet <michael.r.sweet@gmail.com>
Wed, 19 Jul 2017 18:12:41 +0000 (14:12 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Wed, 19 Jul 2017 18:12:41 +0000 (14:12 -0400)
scheduler/main.c

index 4a66cbcaeb3efc8787b43277fc701d0abcacac49..a8cd30e8eeb536d64f4c8951f5b3b9ca49aab21b 100644 (file)
@@ -1752,18 +1752,6 @@ select_timeout(int fds)                  /* I - Number of descriptors returned */
     why     = "delete stale local printers";
   }
 
-#ifdef HAVE_MALLINFO
- /*
-  * Log memory usage every minute...
-  */
-
-  if (LogLevel >= CUPSD_LOG_DEBUG && (mallinfo_time + 60) < timeout)
-  {
-    timeout = mallinfo_time + 60;
-    why     = "display memory usage";
-  }
-#endif /* HAVE_MALLINFO */
-
  /*
   * Adjust from absolute to relative time.  We add 1 second to the timeout since
   * events occur after the timeout expires, and limit the timeout to 86400