Package: cyrus-sasl2 / 2.1.27~101-g0780600+dfsg-3+deb9u1

0024-Fix-typo-in-debugging-logs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: Debian Cyrus SASL Team
 <pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org>
Date: Thu, 24 Mar 2016 11:35:05 +0100
Subject: Fix typo in debugging logs

---
 saslauthd/cache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/saslauthd/cache.c b/saslauthd/cache.c
index 543e176..62a4daa 100644
--- a/saslauthd/cache.c
+++ b/saslauthd/cache.c
@@ -264,7 +264,7 @@ int cache_lookup(const char *user, const char *realm, const char *service, const
 		if (memcmp(pwd_digest, read_bucket->pwd_digest, 16) == 0) {
 
 			if (flags & VERBOSE)
-				logger(L_DEBUG, L_FUNC, debug, user, realm, service, "found with valid passwd");
+				logger(L_DEBUG, L_FUNC, debug, user, service, realm, "found with valid passwd");
 
 			cache_un_lock(hash_offset);
 			table_stats->hits++;
@@ -272,14 +272,14 @@ int cache_lookup(const char *user, const char *realm, const char *service, const
 		}
 
 		if (flags & VERBOSE)
-			logger(L_DEBUG, L_FUNC, debug, user, realm, service, "found with invalid passwd, update pending");
+			logger(L_DEBUG, L_FUNC, debug, user, service, realm, "found with invalid passwd, update pending");
 
 		result->status = CACHE_FLUSH;
 
 	} else {
 
 		if (flags & VERBOSE)
-			logger(L_DEBUG, L_FUNC, debug, user, realm, service, "not found, update pending");
+			logger(L_DEBUG, L_FUNC, debug, user, service, realm, "not found, update pending");
 
 		result->status = CACHE_FLUSH_WITH_RESCAN;
 	}