[Github-comments] [geany-plugins] Use GLib error reporting/logging instead of fprintf() (#370)

Colomban Wendling notifications at xxxxx
Wed Feb 24 22:53:46 UTC 2016


> @@ -168,10 +168,10 @@ gpgme_error_t geanypg_passphrase_cb(void * hook,
>              geanypg_read(outpipe[READ], ' ', 2049, readbuffer);
>              sscanf(readbuffer, "%lu", &errval);
>              geanypg_read(outpipe[READ], '\n', 2049, readbuffer);
> -            fprintf(stderr, "GeanyPG: %s %lu %s\n", _("pinentry gave error"), errval, readbuffer);
> +            g_error("%s %lu %s", _("pinentry gave error"), errval, readbuffer);

ditto

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/370/files#r54021634
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160224/243de56e/attachment.html>


More information about the Github-comments mailing list