[Commits] dbus-service.c 1.2 1.3
miras at claws-mail.org
miras at claws-mail.org
Wed Nov 30 03:12:21 CET 2011
Update of /home/claws-mail/contacts/src/dbus
In directory claws-mail:/tmp/cvs-serv1114/src/dbus
Modified Files:
dbus-service.c
Log Message:
2011-11-30 [mir] 0.6.0cvs32
* plugins/ldap/ldap-plugin.c
* src/dbus/dbus-service.c
Ensure LDAP connection is always closed after
every call since concurrent connections can
give TLS problems.
Index: dbus-service.c
===================================================================
RCS file: /home/claws-mail/contacts/src/dbus/dbus-service.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dbus-service.c 4 Oct 2011 20:21:40 -0000 1.2
+++ dbus-service.c 30 Nov 2011 02:12:18 -0000 1.3
@@ -95,7 +95,7 @@
g_clear_error(&error);
}
debug_print("Entering child process\n");
- /*
+
if (getppid() == 1) {
g_set_error(&error,
server_object_error_quark(),
@@ -103,7 +103,7 @@
_("claws-contacts already running as daemon"));
break;
}
- */
+
umask(0);
pid = setsid();
if (pid < 0) {
More information about the Commits
mailing list