aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-02-23 00:48:34 +0000
committerNIIBE Yutaka <[email protected]>2018-02-23 00:48:34 +0000
commit35aad6b5d53b292e8e7c52c4eb90535be0580cd2 (patch)
treeff7cf3ebc4b0bb53ca6bff4d12cf5ef3f3bc6092
parentBetter credential support for other OSes. (diff)
downloadlibassuan-35aad6b5d53b292e8e7c52c4eb90535be0580cd2.tar.gz
libassuan-35aad6b5d53b292e8e7c52c4eb90535be0580cd2.zip
Fix previous commit.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--src/assuan.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assuan.h.in b/src/assuan.h.in
index f9899d8..4e04a9b 100644
--- a/src/assuan.h.in
+++ b/src/assuan.h.in
@@ -382,8 +382,8 @@ pid_t assuan_get_pid (assuan_context_t ctx);
struct _assuan_peercred
{
#ifdef _WIN32
- /* Empty struct not allowed on some compilers. */
- unsigned int _dummy;
+ /* Empty struct not allowed on some compilers, so, put this (not valid). */
+ pid_t pid;
#else
pid_t pid;
uid_t uid;