Typo fixes.
+2007-09-11 Werner Koch <wk@g10code.com>
+
+ * gpgme.texi (I/O Callback Example): Typo fix.
+
2007-08-07 Werner Koch <wk@g10code.com>
* gpgme.texi (Verify): Describe chain_model.
I/O callbacks.
The following example illustrates how to do that. The example uses
-locking to show in which way the the callbacks and the event loop can
+locking to show in which way the callbacks and the event loop can
run concurrently. For the event loop, we use a fixed array. For a
real-world implementation, you should use a dynamically sized
structure because the number of file descriptors needed for a crypto
+2007-09-14 Werner Koch <wk@g10code.com>
+
+ * data-mem.c (gpgme_data_release_and_get_mem): Fix tracing bug.
+
2007-09-14 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (gpgme_release): Call gpgme_sig_notation_clear.
gpgme_data_release (dh);
- TRACE_SUC2 ("buffer=%p, len=%u", str, *r_len);
+ if (r_len)
+ {
+ TRACE_SUC2 ("buffer=%p, len=%u", str, *r_len);
+ }
+ else
+ {
+ TRACE_SUC1 ("buffer=%p", str);
+ }
return str;
}
{
while (*args == ' ')
args++;
- if (!strncmp (args, "cm", 2) && (args[2] == ' ' || !args[2]))
+ if (!strncmp (args, "chain", 2) && (args[2] == ' ' || !args[2]))
sig->chain_model = 1;
}
}