diff options
author | Not Zed <NotZed@Ximian.com> | 2001-06-19 22:21:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-06-19 22:21:05 +0800 |
commit | ea61a8125616e548a13f64bfef1a3fc92c26e7f8 (patch) | |
tree | b6aeab7a044dbc5ac9c3aa48a74b7c080f8b6b9d /camel/camel-lock-helper.c | |
parent | 131c4514f73e4423bc3be32c3dd0338853f6ac05 (diff) | |
download | gsoc2013-evolution-ea61a8125616e548a13f64bfef1a3fc92c26e7f8.tar.gz gsoc2013-evolution-ea61a8125616e548a13f64bfef1a3fc92c26e7f8.tar.zst gsoc2013-evolution-ea61a8125616e548a13f64bfef1a3fc92c26e7f8.zip |
Fixed a bug when not running setuid it wouldn't unlock.
2001-06-19 Not Zed <NotZed@Ximian.com>
* camel-lock-helper.c (unlock_id): Fixed a bug when not running
setuid it wouldn't unlock.
* camel-movemail.c (camel_movemail): use new
locking daemon, also return an error code.
svn path=/trunk/; revision=10287
Diffstat (limited to 'camel/camel-lock-helper.c')
-rw-r--r-- | camel/camel-lock-helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-lock-helper.c b/camel/camel-lock-helper.c index 06463f2cf4..7cb381eae0 100644 --- a/camel/camel-lock-helper.c +++ b/camel/camel-lock-helper.c @@ -225,10 +225,10 @@ static int unlock_id(guint32 lockid) seteuid(lock_root_uid); camel_unlock_dot(info->path); seteuid(lock_real_uid); - } -#else - camel_unlock_dot(info->path); + } else #endif + camel_unlock_dot(info->path); + p->next = info->next; free(info); } |