]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
simplify the test about whether to roll; one expression was redundant
authorDavid Lawrence <source@isc.org>
Wed, 28 Mar 2001 05:48:16 +0000 (05:48 +0000)
committerDavid Lawrence <source@isc.org>
Wed, 28 Mar 2001 05:48:16 +0000 (05:48 +0000)
lib/isc/log.c

index 3de243738b35d41477c8f644f7409f92c4e27f2f..1c1c6aa991fc151cef02197a14de8c7ca422114d 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.58 2001/03/28 04:16:32 tale Exp $ */
+/* $Id: log.c,v 1.59 2001/03/28 05:48:16 tale Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -1251,8 +1251,7 @@ isc_log_open(isc_logchannel_t *channel) {
                                                        ISC_TRUE : ISC_FALSE;
                /* XXXDCL if not regular_file complain? */
                roll = regular_file &&
-                       (FILE_MAXSIZE(channel) == 0 ||
-                        statbuf.st_size >= FILE_MAXSIZE(channel));
+                       statbuf.st_size >= FILE_MAXSIZE(channel);
        } else if (errno == ENOENT)
                regular_file = ISC_TRUE;
        else