[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU shishi branch, master, updated. shishi-0-0-42-4-gade124c
From: |
Simon Josefsson |
Subject: |
[SCM] GNU shishi branch, master, updated. shishi-0-0-42-4-gade124c |
Date: |
Wed, 17 Mar 2010 10:53:56 +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=ade124c3a93334162c28a25e7e29e1e9cfbcbd79
The branch, master has been updated
via ade124c3a93334162c28a25e7e29e1e9cfbcbd79 (commit)
from 01defe0b01e8d16fa0dad353476058e5fb499e2f (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 ade124c3a93334162c28a25e7e29e1e9cfbcbd79
Author: Simon Josefsson <address@hidden>
Date: Wed Mar 17 11:19:04 2010 +0100
Avoid printing garbage message for UDP and reduce noice for TCP.
-----------------------------------------------------------------------
Summary of changes:
src/server.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/server.c b/src/server.c
index baa4f34..7b5fa7a 100644
--- a/src/server.c
+++ b/src/server.c
@@ -215,14 +215,16 @@ kdc_ready (struct listenspec *ls)
{
size_t waitfor = ls->bufpos >= 4 ? C2I (ls->buf) : 4;
- syslog (LOG_DEBUG, "Got %d bytes of %d bytes from %s on socket %d\n",
- ls->bufpos, waitfor + 4, ls->str, ls->sockfd);
if (ls->type == SOCK_DGRAM && ls->bufpos > 0)
return 1;
else if (ls->bufpos > 4 && waitfor + 4 == ls->bufpos)
return 1;
+ if (ls->type == SOCK_STREAM)
+ syslog (LOG_DEBUG, "Got %d bytes of %d bytes from %s on socket %d\n",
+ ls->bufpos, waitfor + 4, ls->str, ls->sockfd);
+
return 0;
}
hooks/post-receive
--
GNU shishi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU shishi branch, master, updated. shishi-0-0-42-4-gade124c,
Simon Josefsson <=