diff options
-rw-r--r-- | src/argparse.c | 2 | ||||
-rw-r--r-- | src/gpg-error.c | 1 | ||||
-rw-r--r-- | src/gpg-error.h.in | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/argparse.c b/src/argparse.c index 2dab2ca..fecd3b5 100644 --- a/src/argparse.c +++ b/src/argparse.c @@ -1570,7 +1570,7 @@ _gpgrt_set_strusage (const char *(*f)(int) ) } -/* Set a function to write strings which is the used instead of +/* Set a function to write strings which is then used instead of * estream. The first arg of that function is MODE and the second the * STRING to write. A mode of 1 is used for writing to stdout and a * mode of 2 to write to stderr. Other modes are reserved and should diff --git a/src/gpg-error.c b/src/gpg-error.c index e0b0150..ade2bae 100644 --- a/src/gpg-error.c +++ b/src/gpg-error.c @@ -524,7 +524,6 @@ main (int argc, char *argv[]) } } gpgrt_argparse (NULL, &pargs, NULL); /* Free internal memory. */ - log_debug ("argc=%d listmode=%d\n", argc, listmode); if ((argc && listmode) || (!argc && !listmode)) gpgrt_usage (1); diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index 4c5ac38..8bcafcc 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -758,8 +758,8 @@ int gpgrt_write_hexstring (gpgrt_stream_t _GPGRT__RESTRICT stream, size_t gpgrt_fread (void *_GPGRT__RESTRICT ptr, size_t size, size_t nitems, gpgrt_stream_t _GPGRT__RESTRICT stream); -size_t gpgrt_fwrite (const void *_GPGRT__RESTRICT ptr, size_t size, size_t memb, - gpgrt_stream_t _GPGRT__RESTRICT stream); +size_t gpgrt_fwrite (const void *_GPGRT__RESTRICT ptr, size_t size, + size_t nitems, gpgrt_stream_t _GPGRT__RESTRICT stream); char *gpgrt_fgets (char *_GPGRT__RESTRICT s, int n, gpgrt_stream_t _GPGRT__RESTRICT stream); |