From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A27715A7D9 for ; Wed, 22 Mar 2023 17:44:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77294E0827; Wed, 22 Mar 2023 17:44:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A76EE0827 for ; Wed, 22 Mar 2023 17:44:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 725253407E0 for ; Wed, 22 Mar 2023 17:44:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B54DC21 for ; Wed, 22 Mar 2023 17:44:11 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1679507046.005122b3fd5ec2dcabd1ce9a717937ab6950b1b0.robbat2@gentoo> Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: / X-VCS-Repository: proj/gentoo-mirrorstats X-VCS-Files: probe-mirmon X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 005122b3fd5ec2dcabd1ce9a717937ab6950b1b0 X-VCS-Branch: master Date: Wed, 22 Mar 2023 17:44:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: df2aa486-8a12-4d33-801e-2ce2893cc5e5 X-Archives-Hash: 204efb4413fc32bebedbd1036e37ccd8 commit: 005122b3fd5ec2dcabd1ce9a717937ab6950b1b0 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Mar 22 17:44:06 2023 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Mar 22 17:44:06 2023 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=005122b3 probe-mirmon: fix warning Signed-off-by: Robin H. Johnson gentoo.org> probe-mirmon | 1 + 1 file changed, 1 insertion(+) diff --git a/probe-mirmon b/probe-mirmon index 233b6a3..cfade50 100755 --- a/probe-mirmon +++ b/probe-mirmon @@ -117,6 +117,7 @@ sub handle_rsync { sub munge_date { no warnings 'numeric'; ## no critic (TestingAndDebugging::ProhibitNoWarnings) my $timestr = shift; + return -1 if !$timestr; my $timestamp = int($timestr); my $year2020 = 1577836800; my $year2038 = 2145916800;