[Pkg-gnupg-commit] [libassuan] 276/437: 2009-12-08 Marcus Brinkmann <marcus at g10code.de>

Eric Dorland eric at moszumanska.debian.org
Fri May 22 05:33:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libassuan.

commit 3d2c39e701d8efee1f3832ecb47340bea5a1a57e
Author: Marcus Brinkmann <mb at g10code.com>
Date:   Tue Dec 8 15:25:14 2009 +0000

    2009-12-08  Marcus Brinkmann  <marcus at g10code.de>
    
    	* client.c (assuan_client_read_response): Fix linelen.
---
 src/ChangeLog | 2 ++
 src/client.c  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/src/ChangeLog b/src/ChangeLog
index d22f869..adb6c05 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
 2009-12-08  Marcus Brinkmann  <marcus at g10code.de>
 
+	* client.c (assuan_client_read_response): Fix linelen.
+
 	* assuan.h (ASSUAN_SPAWN_DETACHED): New macro.
 	* assuan-pipe-connect.c (pipe_connect): Calculate spawn_flags from
 	flags.
diff --git a/src/client.c b/src/client.c
index e74b73b..5420e44 100644
--- a/src/client.c
+++ b/src/client.c
@@ -112,6 +112,7 @@ assuan_client_read_response (assuan_context_t ctx,
 	}
       *d = 0; /* add a hidden string terminator */
 
+      linelen = d - line;
       ctx->inbound.linelen = linelen;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libassuan.git



More information about the Pkg-gnupg-commit mailing list