mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Minor bug fixes.
Enhanced function docs.
This commit is contained in:
parent
e1f6e32da0
commit
44add1c310
6 changed files with 46 additions and 19 deletions
|
@ -267,6 +267,9 @@ set_file_fd (const char *name, int fd)
|
|||
|
||||
/* Setup a new stream. */
|
||||
#ifdef USE_FUNWRITER
|
||||
/* The xmalloc below is justified because we can expect that this
|
||||
function is called only during initialization and there is no
|
||||
easy way out of this error condition. */
|
||||
cookie = jnlib_xmalloc (sizeof *cookie + (name? strlen (name):0));
|
||||
strcpy (cookie->name, name? name:"");
|
||||
cookie->quiet = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue