diff options
author | Werner Koch <[email protected]> | 2008-03-20 15:31:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-03-20 15:31:43 +0000 |
commit | c2a8254be71089f707b3100972609db9cf4d02a0 (patch) | |
tree | 109ea1f31fdfe85524fca8107edbab7a5888f425 /jnlib/dotlock.c | |
parent | Fix for v3 keys. (diff) | |
download | gnupg-c2a8254be71089f707b3100972609db9cf4d02a0.tar.gz gnupg-c2a8254be71089f707b3100972609db9cf4d02a0.zip |
Fix a bug in the ambigious name detection.
Minor cleanups.
Diffstat (limited to '')
-rw-r--r-- | jnlib/dotlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jnlib/dotlock.c b/jnlib/dotlock.c index 079723ce9..e1964fd26 100644 --- a/jnlib/dotlock.c +++ b/jnlib/dotlock.c @@ -454,7 +454,8 @@ read_lockfile (DOTLOCK h, int *same_node ) #else char buffer_space[10+1+70+1]; /* 70 is just an estimated value; node name are usually shorter. */ - int fd, pid; + int fd; + int pid = -1; char *buffer, *p; size_t expected_len; int res, nread; |