[svn] gpgme - r1412 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Mon Nov 2 18:18:48 CET 2009
Author: marcus
Date: 2009-11-02 18:18:48 +0100 (Mon, 02 Nov 2009)
New Revision: 1412
Modified:
trunk/src/ChangeLog
trunk/src/debug.c
trunk/src/debug.h
trunk/src/decrypt.c
trunk/src/gpgme-tool.c
trunk/src/opassuan.c
Log:
2009-11-02 Marcus Brinkmann <marcus at g10code.de>
* debug.h (_gpgme_debug_buffer): Make TAG argument const const.
* debug.c (_gpgme_debug_buffer): Likewise.
* gpgme-tool.c (input_notify, output_notify): Adjust type to new
assuan interface.
* decrypt.c (gpgme_op_decrypt_result): Remove unused variable.
* opassuan.c (gpgme_op_assuan_transact): Fix return value.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/ChangeLog 2009-11-02 17:18:48 UTC (rev 1412)
@@ -1,5 +1,10 @@
2009-11-02 Marcus Brinkmann <marcus at g10code.de>
+ * debug.h (_gpgme_debug_buffer): Make TAG argument const const.
+ * debug.c (_gpgme_debug_buffer): Likewise.
+ * gpgme-tool.c (input_notify, output_notify): Adjust type to new
+ assuan interface.
+ * decrypt.c (gpgme_op_decrypt_result): Remove unused variable.
* opassuan.c (gpgme_op_assuan_transact): Fix return value.
2009-10-30 Marcus Brinkmann <marcus at g10code.de>
Modified: trunk/src/debug.c
===================================================================
--- trunk/src/debug.c 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/debug.c 2009-11-02 17:18:48 UTC (rev 1412)
@@ -266,7 +266,8 @@
void
_gpgme_debug_buffer (int lvl, const char *const fmt,
const char *const func, const char *const tagname,
- void *tag, const char *const buffer, size_t len)
+ const void *const tag, const char *const buffer,
+ size_t len)
{
int idx = 0;
int j;
Modified: trunk/src/debug.h
===================================================================
--- trunk/src/debug.h 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/debug.h 2009-11-02 17:18:48 UTC (rev 1412)
@@ -73,7 +73,8 @@
void _gpgme_debug_buffer (int lvl, const char *const fmt,
const char *const func, const char *const tagname,
- void *tag, const char *const buffer, size_t len);
+ const void *const tag, const char *const buffer,
+ size_t len);
/* Trace support. */
Modified: trunk/src/decrypt.c
===================================================================
--- trunk/src/decrypt.c 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/decrypt.c 2009-11-02 17:18:48 UTC (rev 1412)
@@ -88,7 +88,6 @@
if (_gpgme_debug_trace ())
{
gpgme_recipient_t rcp;
- int signatures = 0;
if (opd->result.unsupported_algorithm)
{
Modified: trunk/src/gpgme-tool.c
===================================================================
--- trunk/src/gpgme-tool.c 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/gpgme-tool.c 2009-11-02 17:18:48 UTC (rev 1412)
@@ -1203,19 +1203,21 @@
}
-static void
-input_notify (assuan_context_t ctx, const char *line)
+static gpg_error_t
+input_notify (assuan_context_t ctx, char *line)
{
struct server *server = assuan_get_pointer (ctx);
server->input_enc = server_data_encoding (line);
+ return 0;
}
-static void
-output_notify (assuan_context_t ctx, const char *line)
+static gpg_error_t
+output_notify (assuan_context_t ctx, char *line)
{
struct server *server = assuan_get_pointer (ctx);
server->output_enc = server_data_encoding (line);
+ return 0;
}
Modified: trunk/src/opassuan.c
===================================================================
--- trunk/src/opassuan.c 2009-11-02 17:06:14 UTC (rev 1411)
+++ trunk/src/opassuan.c 2009-11-02 17:18:48 UTC (rev 1412)
@@ -200,6 +200,5 @@
err = gpgme_op_assuan_transact_ext (ctx, command, data_cb, data_cb_value,
inq_cb, inq_cb_value,
status_cb, status_cb_value, NULL);
-
- return TRACE_ERR (err);
+ return err;
}
More information about the Gnupg-commits
mailing list