[svn] GnuPG - r5393 - trunk/dirmngr
svn author wk
cvs at cvs.gnupg.org
Thu Aug 12 18:57:14 CEST 2010
Author: wk
Date: 2010-08-12 18:57:14 +0200 (Thu, 12 Aug 2010)
New Revision: 5393
Modified:
trunk/dirmngr/server.c
Log:
Fix last change
Modified: trunk/dirmngr/server.c
===================================================================
--- trunk/dirmngr/server.c 2010-08-12 11:43:46 UTC (rev 5392)
+++ trunk/dirmngr/server.c 2010-08-12 16:57:14 UTC (rev 5393)
@@ -1404,7 +1404,7 @@
assuan_peercred_t cred;
ec = gpg_err_code (assuan_get_peercred (ctx, &cred));
- if (!ec && cred.uid)
+ if (!ec && cred->uid)
ec = GPG_ERR_EPERM; /* Only root may terminate. */
if (ec)
return set_error (ec, "no permission to kill this process");
@@ -1436,7 +1436,7 @@
assuan_peercred_t cred;
ec = gpg_err_code (assuan_get_peercred (ctx, &cred));
- if (!ec && cred.uid)
+ if (!ec && cred->uid)
ec = GPG_ERR_EPERM; /* Only root may terminate. */
if (ec)
return set_error (ec, "no permission to reload this process");
More information about the Gnupg-commits
mailing list