~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to jnlib/logging.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-09-07 20:38:23 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907203823-d7hsk7lnfqoc4yom
Tags: 2.0.13-1
* New upstream release.
* debian/control: Depend instead of Recommend gnupg-agent. (Closes:
  #538947)

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
 
268
268
  /* Setup a new stream.  */
269
269
#ifdef USE_FUNWRITER
 
270
  /* The xmalloc below is justified because we can expect that this
 
271
     function is called only during initialization and there is no
 
272
     easy way out of this error condition.  */
270
273
  cookie = jnlib_xmalloc (sizeof *cookie + (name? strlen (name):0));
271
274
  strcpy (cookie->name, name? name:"");
272
275
  cookie->quiet = 0;