On 01/07/2015 01:58 PM, NIIBE Yutaka wrote:
> Here is my fix along with other fixes in map_host function.
[...]
> @@ -504,9 +506,11 @@ map_host (ctrl_t ctrl, const char *name, int 
> force_reselect,
>            hi->pool = xtryrealloc (reftbl, (refidx+1) * sizeof *reftbl);
>            if (!hi->pool)
>              {
> +              err = gpg_error_from_syserror ();
>                log_error ("shrinking index table in map_host failed: %s\n",
>                           strerror (errno));
>                xfree (reftbl);
> +              return err;
>              }

Changing the call of strerror (errno) above into gpg_strerror (err), I
committed the change into master.
-- 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to