shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU shishi branch, master, updated. shishi-1-0-1-16-g474f682


From: Simon Josefsson
Subject: [SCM] GNU shishi branch, master, updated. shishi-1-0-1-16-g474f682
Date: Wed, 15 Aug 2012 17:47:30 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU shishi".

http://git.savannah.gnu.org/cgit/shishi.git/commit/?id=474f6829a5be650bc6f687a436e7b86537007c95

The branch, master has been updated
       via  474f6829a5be650bc6f687a436e7b86537007c95 (commit)
       via  aaaa68230941004cd9944b317b389ea26df5ca20 (commit)
      from  27bf38c38725169304cb9147a2f1e0fd01038c77 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 474f6829a5be650bc6f687a436e7b86537007c95
Author: Simon Josefsson <address@hidden>
Date:   Wed Aug 15 19:39:06 2012 +0200

    Only use LOG_PERROR when verbose.

commit aaaa68230941004cd9944b317b389ea26df5ca20
Author: Simon Josefsson <address@hidden>
Date:   Wed Aug 15 19:30:17 2012 +0200

    Drop useless syslog messages, based on report from Mats.

-----------------------------------------------------------------------

Summary of changes:
 src/kdc.c     |    2 --
 src/shishid.c |    7 ++++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/kdc.c b/src/kdc.c
index d648420..87222d8 100644
--- a/src/kdc.c
+++ b/src/kdc.c
@@ -1075,12 +1075,10 @@ process (const char *in, size_t inlen, char **out)
   switch (shishi_asn1_msgtype (handle, node))
     {
     case SHISHI_MSGTYPE_AS_REQ:
-      syslog (LOG_ERR, "Trying AS-REQ");
       rc = asreq (node, out, &outlen);
       break;
 
     case SHISHI_MSGTYPE_TGS_REQ:
-      syslog (LOG_ERR, "Trying TGS-REQ");
       rc = tgsreq (node, out, &outlen);
       break;
 
diff --git a/src/shishid.c b/src/shishid.c
index ebc128d..ec3500e 100644
--- a/src/shishid.c
+++ b/src/shishid.c
@@ -336,10 +336,11 @@ doit (void)
     const char *shortname = (slash != NULL ? slash + 1 : program_name);
 
 #ifdef LOG_PERROR
-    openlog (shortname, LOG_CONS | LOG_PERROR, LOG_DAEMON);
-#else
-    openlog (shortname, LOG_CONS, LOG_DAEMON);
+    if (arg.verbose_given > 0)
+      openlog (shortname, LOG_CONS | LOG_PERROR, LOG_DAEMON);
+    else
 #endif
+      openlog (shortname, LOG_CONS, LOG_DAEMON);
   }
 
   kdc_setuid ();


hooks/post-receive
-- 
GNU shishi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]