openbsd-ports/mail/sympa/patches/patch-src_lib_Lock_pm
landry e6499679d4 Import sympa 6.0.1:
SYMPA is an electronic mailing list manager. It is used to automate list
management functions such as subscription, moderation and management of
archives. SYMPA also manages sending of messages to the lists, and makes
it possible to reduce the load on the system. It also provides a web
management interface, and an archive browser.

With feedback from sthen@ and ajacoutot@, ok ajacoutot@
2010-03-27 11:47:13 +00:00

14 lines
546 B
Plaintext

$OpenBSD: patch-src_lib_Lock_pm,v 1.1.1.1 2010/03/27 11:47:13 landry Exp $
Don't spam error_log
--- src/lib/Lock.pm.orig Tue Nov 17 22:25:17 2009
+++ src/lib/Lock.pm Tue Nov 17 22:25:42 2009
@@ -43,7 +43,7 @@ my $default_timeout = 60 * 20; ## After this period a
## Creates a new object
sub new {
my($pkg, $filepath) = @_;
- &do_log('debug', 'Lock::new(%s,%s)',$filepath);
+ &do_log('debug', 'Lock::new(%s,%s)',$pkg, $filepath);
my $lock_filename = $filepath.'.lock';
my $lock = {'lock_filename' => $lock_filename};