]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agoauth: Removed unnecessary NULL check.
Timo Sirainen [Fri, 6 Sep 2013 15:30:54 +0000 (18:30 +0300)] 
auth: Removed unnecessary NULL check.

12 years agoimapc: Don't crash if server sends EXISTS while mailbox isn't selected.
Timo Sirainen [Fri, 6 Sep 2013 15:28:59 +0000 (18:28 +0300)] 
imapc: Don't crash if server sends EXISTS while mailbox isn't selected.

12 years agofts-lucene: Fixed crash in doveadm dumping lucene index.
Timo Sirainen [Fri, 6 Sep 2013 15:26:48 +0000 (18:26 +0300)] 
fts-lucene: Fixed crash in doveadm dumping lucene index.

12 years agoAvoid doing side effects in assert.
Timo Sirainen [Thu, 5 Sep 2013 23:39:56 +0000 (02:39 +0300)] 
Avoid doing side effects in assert.

12 years agolib-index: Minor fix to regenerating missing transaction log parts.
Timo Sirainen [Thu, 5 Sep 2013 23:39:16 +0000 (02:39 +0300)] 
lib-index: Minor fix to regenerating missing transaction log parts.

12 years agolib-lda: Fixed passing through error message when mailbox couldn't be opened.
Timo Sirainen [Thu, 5 Sep 2013 18:06:50 +0000 (21:06 +0300)] 
lib-lda: Fixed passing through error message when mailbox couldn't be opened.

12 years agoAnd removed accidentally committed nbsp.
Timo Sirainen [Wed, 4 Sep 2013 19:43:47 +0000 (22:43 +0300)] 
And removed accidentally committed nbsp.

12 years agoFixed file descriptor leaks in rather unimportant places.
Timo Sirainen [Wed, 4 Sep 2013 19:41:42 +0000 (22:41 +0300)] 
Fixed file descriptor leaks in rather unimportant places.
Found by Coverity scan.

12 years agolib-index: Fixed modseq updates when modseq was over 32bits long
Timo Sirainen [Wed, 4 Sep 2013 19:16:02 +0000 (22:16 +0300)] 
lib-index: Fixed modseq updates when modseq was over 32bits long

12 years agoi_close_fd() didn't handle errors correctly with gcc.
Timo Sirainen [Wed, 4 Sep 2013 19:13:01 +0000 (22:13 +0300)] 
i_close_fd() didn't handle errors correctly with gcc.

12 years agoFixed off-by-one buffer overflows (practically non-exploitable).
Timo Sirainen [Wed, 4 Sep 2013 18:23:33 +0000 (21:23 +0300)] 
Fixed off-by-one buffer overflows (practically non-exploitable).
Found by Coverity scan.

12 years agomaster: Fix to previous pre-forking change.
Timo Sirainen [Mon, 2 Sep 2013 14:44:39 +0000 (17:44 +0300)] 
master: Fix to previous pre-forking change.

12 years agomaster: Pre-fork processes only while master doesn't have more important things to do.
Timo Sirainen [Mon, 2 Sep 2013 14:37:47 +0000 (17:37 +0300)] 
master: Pre-fork processes only while master doesn't have more important things to do.

12 years agolib-master: If net_connect_unix() fails with EAGAIN, point to a wiki link for reasons.
Timo Sirainen [Mon, 2 Sep 2013 14:06:49 +0000 (17:06 +0300)] 
lib-master: If net_connect_unix() fails with EAGAIN, point to a wiki link for reasons.

12 years agolib-ssl-iostream: Don't assert-crash if stream buffer gets full.
Timo Sirainen [Thu, 29 Aug 2013 13:42:55 +0000 (16:42 +0300)] 
lib-ssl-iostream: Don't assert-crash if stream buffer gets full.

12 years agolib-storage: Auto-create dovecot-uidvalidity's missing parent directory
Timo Sirainen [Wed, 28 Aug 2013 21:57:13 +0000 (00:57 +0300)] 
lib-storage: Auto-create dovecot-uidvalidity's missing parent directory

12 years agoFixed compiling with old gcc.
Timo Sirainen [Wed, 28 Aug 2013 21:53:30 +0000 (00:53 +0300)] 
Fixed compiling with old gcc.

12 years agodbox: When fixing a broken file, try harder to find only valid message/metadata posit...
Timo Sirainen [Tue, 27 Aug 2013 01:06:43 +0000 (04:06 +0300)] 
dbox: When fixing a broken file, try harder to find only valid message/metadata positions.
The previous method sometime broke with compressed mail content, because the
magic blocks were so short.

12 years agodirector: Reset last-seen-sync-sequence after remote director restarts.
Timo Sirainen [Wed, 21 Aug 2013 20:30:07 +0000 (23:30 +0300)] 
director: Reset last-seen-sync-sequence after remote director restarts.

12 years agolib-storage: When doing a fast sync, refresh index to see if it had any changes.
Timo Sirainen [Wed, 21 Aug 2013 17:03:13 +0000 (20:03 +0300)] 
lib-storage: When doing a fast sync, refresh index to see if it had any changes.
I'm pretty sure this used to be done earlier, but probably some
optimizations dropped it at some point.

12 years agoimap: Fixed potential assert crash in APPEND.
Timo Sirainen [Wed, 21 Aug 2013 16:40:54 +0000 (19:40 +0300)] 
imap: Fixed potential assert crash in APPEND.

12 years agoman: doveadm-pw.1: Option -p can also be used with -t.
Pascal Volk [Sat, 17 Aug 2013 15:01:25 +0000 (15:01 +0000)] 
man: doveadm-pw.1: Option -p can also be used with -t.

12 years agodirector: Previous change caused legitimate SYNC resends to be ignored.
Timo Sirainen [Thu, 15 Aug 2013 17:25:12 +0000 (20:25 +0300)] 
director: Previous change caused legitimate SYNC resends to be ignored.

12 years agolmtp: Make it clear that the lda_settings is unexpanded in struct client.
Timo Sirainen [Tue, 13 Aug 2013 18:02:04 +0000 (21:02 +0300)] 
lmtp: Make it clear that the lda_settings is unexpanded in struct client.

12 years agoMinor change to prevent invalid code changes.
Timo Sirainen [Tue, 13 Aug 2013 17:59:39 +0000 (20:59 +0300)] 
Minor change to prevent invalid code changes.

12 years agolib-lda: Default postmaster_address wasn't being set.
Timo Sirainen [Tue, 13 Aug 2013 17:58:56 +0000 (20:58 +0300)] 
lib-lda: Default postmaster_address wasn't being set.
This broke after it was set to allow %variables.

12 years agolib-lda: Don't alow %variables for hostname setting after all.
Timo Sirainen [Tue, 13 Aug 2013 17:57:41 +0000 (20:57 +0300)] 
lib-lda: Don't alow %variables for hostname setting after all.
I was thinking maybe %d could be used there, but with LMTP the hostname is
used already in the greeting message before any RCPT TO is even done.

12 years agoauth: Added %{domain_first} and %{domain_last} variables.
Timo Sirainen [Mon, 12 Aug 2013 16:02:07 +0000 (19:02 +0300)] 
auth: Added %{domain_first} and %{domain_last} variables.
They are both equal to %d normally, but differ when there are multiple '@'
characters in the domain.

12 years agolib-storage: If dovecot.index.thread corruption is noticed, delete the file.
Timo Sirainen [Mon, 12 Aug 2013 14:24:05 +0000 (17:24 +0300)] 
lib-storage: If dovecot.index.thread corruption is noticed, delete the file.

12 years agolib-lda: submission_host, sendmail_path and hostname settings can now contain %variables
Timo Sirainen [Mon, 12 Aug 2013 12:44:51 +0000 (15:44 +0300)] 
lib-lda: submission_host, sendmail_path and hostname settings can now contain %variables

12 years agolib-lda: sendmail_path setting can contain parameters now.
Timo Sirainen [Mon, 12 Aug 2013 12:44:39 +0000 (15:44 +0300)] 
lib-lda: sendmail_path setting can contain parameters now.

12 years agolib-storage: Improved error message in threading code's lost message-id.
Timo Sirainen [Sun, 11 Aug 2013 19:54:32 +0000 (22:54 +0300)] 
lib-storage: Improved error message in threading code's lost message-id.

12 years agolib-http: Removed more code duplication
Timo Sirainen [Sat, 10 Aug 2013 13:31:27 +0000 (16:31 +0300)] 
lib-http: Removed more code duplication

12 years agolib-http: Removed duplicated code
Timo Sirainen [Sat, 10 Aug 2013 12:00:36 +0000 (15:00 +0300)] 
lib-http: Removed duplicated code

12 years agolmtp: Don't write extra ([]) to Received: line for mails via UNIX socket.
Timo Sirainen [Thu, 8 Aug 2013 19:37:35 +0000 (22:37 +0300)] 
lmtp: Don't write extra ([]) to Received: line for mails via UNIX socket.

12 years agoimap: Fixed memory leak on APPEND error conditions.
Timo Sirainen [Wed, 7 Aug 2013 16:47:17 +0000 (19:47 +0300)] 
imap: Fixed memory leak on APPEND error conditions.

12 years agodsync: We didn't send the new protocol version in handshake.
Timo Sirainen [Wed, 7 Aug 2013 16:40:16 +0000 (19:40 +0300)] 
dsync: We didn't send the new protocol version in handshake.
This caused problems when syncing mailbox formats that didn't support saving
GUIDs.

12 years agodsync: Avoid assert-crash after an error.
Timo Sirainen [Wed, 7 Aug 2013 16:26:29 +0000 (19:26 +0300)] 
dsync: Avoid assert-crash after an error.

12 years agossl: Fixed compiling with older OpenSSL libraries.
Timo Sirainen [Wed, 7 Aug 2013 15:00:32 +0000 (18:00 +0300)] 
ssl: Fixed compiling with older OpenSSL libraries.

12 years agoCompiler warning fixes.
Timo Sirainen [Wed, 7 Aug 2013 14:20:10 +0000 (17:20 +0300)] 
Compiler warning fixes.

12 years agoquota: Improved init() failure error logging.
Timo Sirainen [Wed, 7 Aug 2013 13:09:29 +0000 (16:09 +0300)] 
quota: Improved init() failure error logging.

12 years agomaster: Added --hostdomain to the help message.
Pascal Volk [Tue, 6 Aug 2013 18:44:37 +0000 (18:44 +0000)] 
master: Added --hostdomain to the help message.

12 years agoman: dovecot.1: Added description of option --hostdomain.
Pascal Volk [Tue, 6 Aug 2013 18:35:02 +0000 (18:35 +0000)] 
man: dovecot.1: Added description of option --hostdomain.

12 years agodoveadm: If server connection gets disconnected, log the reason.
Timo Sirainen [Tue, 6 Aug 2013 15:28:31 +0000 (18:28 +0300)] 
doveadm: If server connection gets disconnected, log the reason.

12 years agodsync: Stream disconnection error message improvement
Timo Sirainen [Tue, 6 Aug 2013 14:16:58 +0000 (17:16 +0300)] 
dsync: Stream disconnection error message improvement

12 years agodoveadm-server: Error message logging improvements.
Timo Sirainen [Tue, 6 Aug 2013 14:06:50 +0000 (17:06 +0300)] 
doveadm-server: Error message logging improvements.

12 years agodoveadm-server: Include client's IP address in logs.
Timo Sirainen [Tue, 6 Aug 2013 13:54:33 +0000 (16:54 +0300)] 
doveadm-server: Include client's IP address in logs.

12 years agodsync: Don't leak iostreams when running via doveadm-server
Timo Sirainen [Tue, 6 Aug 2013 13:32:03 +0000 (16:32 +0300)] 
dsync: Don't leak iostreams when running via doveadm-server

12 years agodsync: Memory leak fix at deinit.
Timo Sirainen [Tue, 6 Aug 2013 13:28:08 +0000 (16:28 +0300)] 
dsync: Memory leak fix at deinit.

12 years agolib-ssl-iostream: Deinitialization fixes.
Timo Sirainen [Tue, 6 Aug 2013 13:07:50 +0000 (16:07 +0300)] 
lib-ssl-iostream: Deinitialization fixes.

12 years agodoveadm: If we get disconnected from server, log the reason.
Timo Sirainen [Tue, 6 Aug 2013 12:11:14 +0000 (15:11 +0300)] 
doveadm: If we get disconnected from server, log the reason.

12 years agonet_ip2addr() changed to return "" instead of NULL on failure.
Timo Sirainen [Tue, 6 Aug 2013 11:53:23 +0000 (14:53 +0300)] 
net_ip2addr() changed to return "" instead of NULL on failure.
Pretty much everything in the code assumed that it would never fail, which
it normally doesn't except if the ip_addr was created for UNIX sockets.

12 years agodsync: After reading remote hostname, use it for the log messages instead of IP.
Timo Sirainen [Tue, 6 Aug 2013 11:46:36 +0000 (14:46 +0300)] 
dsync: After reading remote hostname, use it for the log messages instead of IP.

12 years agomaster: Added --hostdomain setting to show the current hostdomain.
Timo Sirainen [Tue, 6 Aug 2013 11:36:25 +0000 (14:36 +0300)] 
master: Added --hostdomain setting to show the current hostdomain.

12 years agodsync: Name remote connections better.
Timo Sirainen [Tue, 6 Aug 2013 11:25:49 +0000 (14:25 +0300)] 
dsync: Name remote connections better.

12 years agoreplicator: Fixed assert-crash if dsync server disconnected.
Timo Sirainen [Tue, 6 Aug 2013 09:48:15 +0000 (12:48 +0300)] 
replicator: Fixed assert-crash if dsync server disconnected.

12 years agoAdded signature for changeset 71f0696749ab
Timo Sirainen [Mon, 5 Aug 2013 19:22:51 +0000 (22:22 +0300)] 
Added signature for changeset 71f0696749ab

12 years agoAdded tag 2.2.5 for changeset 71f0696749ab
Timo Sirainen [Mon, 5 Aug 2013 19:22:47 +0000 (22:22 +0300)] 
Added tag 2.2.5 for changeset 71f0696749ab

12 years agoReleased v2.2.5. 2.2.5
Timo Sirainen [Mon, 5 Aug 2013 19:22:47 +0000 (22:22 +0300)] 
Released v2.2.5.

12 years agoMake static analyzer happier.
Timo Sirainen [Mon, 5 Aug 2013 19:21:29 +0000 (22:21 +0300)] 
Make static analyzer happier.

12 years agolib-storage: Use a separate auth-userdb connection for iterating through users.
Timo Sirainen [Mon, 5 Aug 2013 19:16:02 +0000 (22:16 +0300)] 
lib-storage: Use a separate auth-userdb connection for iterating through users.
This is required because the auth-userdb connection is also wanted in the
middle of the iteration to do USER lookups.

12 years agolib-auth: Previous changes didn't set the current ioloop correctly, causing problems.
Timo Sirainen [Mon, 5 Aug 2013 19:15:08 +0000 (22:15 +0300)] 
lib-auth: Previous changes didn't set the current ioloop correctly, causing problems.

12 years agodoveadm: Minor memory leak fixes at deinit.
Timo Sirainen [Mon, 5 Aug 2013 19:13:28 +0000 (22:13 +0300)] 
doveadm: Minor memory leak fixes at deinit.

12 years agolib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.
Timo Sirainen [Mon, 5 Aug 2013 18:47:11 +0000 (21:47 +0300)] 
lib-auth: auth_master_user_list_*() shouldn't create ioloop if it already exists.

12 years agomaildir: mailbox_create() was returning 1 instead of 0 on success.
Timo Sirainen [Mon, 5 Aug 2013 17:45:42 +0000 (20:45 +0300)] 
maildir: mailbox_create() was returning 1 instead of 0 on success.
This broke acl plugin's check to copy the ACLs to the newly created mailbox.

12 years agodns: Use EAI_NONAME, not EAI_ADDRFAMILY to indicate "no addresses".
Timo Sirainen [Mon, 5 Aug 2013 17:33:01 +0000 (20:33 +0300)] 
dns: Use EAI_NONAME, not EAI_ADDRFAMILY to indicate "no addresses".

12 years agombox: Don't use file_set_size() to grow mbox file size.
Timo Sirainen [Mon, 5 Aug 2013 17:27:09 +0000 (20:27 +0300)] 
mbox: Don't use file_set_size() to grow mbox file size.
posix_fallocate() apparently grows file size in 4kB blocks in GFS2 causing
extra NULs to be written. The mbox file rarely needs to grow so much that
there's any point in using any optimizations for it.

Besides, this was the last place where file_set_size() was used. If no
further use can be found for it, it could be removed entirely.

12 years agolib-auth: Another crashfix to auth_master_user_list_*()
Timo Sirainen [Mon, 5 Aug 2013 17:12:10 +0000 (20:12 +0300)] 
lib-auth: Another crashfix to auth_master_user_list_*()

12 years agoman: Added doveadm-exec.1.
Pascal Volk [Mon, 5 Aug 2013 15:52:52 +0000 (15:52 +0000)] 
man: Added doveadm-exec.1.

12 years agolib-storage: Fixed listing INBOX's children with LAYOUT=fs and non-mbox format.
Timo Sirainen [Mon, 5 Aug 2013 14:38:13 +0000 (17:38 +0300)] 
lib-storage: Fixed listing INBOX's children with LAYOUT=fs and non-mbox format.

12 years agonet_gethosterror(): Never return NULL.
Timo Sirainen [Mon, 5 Aug 2013 13:59:21 +0000 (16:59 +0300)] 
net_gethosterror(): Never return NULL.

12 years agolib-dns, dns: Don't use IPv4-only error codes
Timo Sirainen [Mon, 5 Aug 2013 13:58:01 +0000 (16:58 +0300)] 
lib-dns, dns: Don't use IPv4-only error codes

12 years agolib-index: Replaced assert-crash with "index corrupted" error.
Timo Sirainen [Mon, 5 Aug 2013 11:06:23 +0000 (14:06 +0300)] 
lib-index: Replaced assert-crash with "index corrupted" error.

12 years agolib-index: Silently ignore next_uid shrinking without treating them as errors.
Timo Sirainen [Mon, 5 Aug 2013 10:46:37 +0000 (13:46 +0300)] 
lib-index: Silently ignore next_uid shrinking without treating them as errors.

12 years agolib-http: Fixed redirect request target encoding and NULL target.
Timo Sirainen [Sun, 4 Aug 2013 17:33:05 +0000 (20:33 +0300)] 
lib-http: Fixed redirect request target encoding and NULL target.
Patch by Stephan Bosch.

12 years agoimap: Various APPEND/CATENATE error handling bugfixes.
Timo Sirainen [Sun, 4 Aug 2013 15:34:43 +0000 (18:34 +0300)] 
imap: Various APPEND/CATENATE error handling bugfixes.
Found using Apple's catenate.pl test script.

12 years agolib-http: Ignore trailing whitespace in headers.
Timo Sirainen [Sun, 4 Aug 2013 11:03:54 +0000 (14:03 +0300)] 
lib-http: Ignore trailing whitespace in headers.
Patch by Stephan Bosch.

12 years agolib-http: Don't crash when receiving 304 or a redirect without Location: header.
Timo Sirainen [Sun, 4 Aug 2013 09:16:09 +0000 (12:16 +0300)] 
lib-http: Don't crash when receiving 304 or a redirect without Location: header.
Patch by Stephan Bosch

12 years agoman: Fixed doveadm-deduplicate.1
Timo Sirainen [Sat, 3 Aug 2013 18:33:25 +0000 (21:33 +0300)] 
man: Fixed doveadm-deduplicate.1
Patch by Pascal Volk

12 years agoMakefile: Fixed previous commit.
Timo Sirainen [Sat, 3 Aug 2013 12:26:58 +0000 (15:26 +0300)] 
Makefile: Fixed previous commit.

12 years agoman: Added doveadm-deduplicate.1 and doveadm-flags.1.
Pascal Volk [Fri, 2 Aug 2013 19:03:32 +0000 (19:03 +0000)] 
man: Added doveadm-deduplicate.1 and doveadm-flags.1.

12 years agodoveadm flags: Fixed help text for subcommands.
Timo Sirainen [Fri, 2 Aug 2013 13:20:08 +0000 (16:20 +0300)] 
doveadm flags: Fixed help text for subcommands.

12 years agoquota-status: Added quota_status_toolarge message for mails larger than user's quota...
Timo Sirainen [Fri, 2 Aug 2013 12:19:22 +0000 (15:19 +0300)] 
quota-status: Added quota_status_toolarge message for mails larger than user's quota limit.
Based on patch by Ulrich Zehl

12 years agoquota-status: Removed extra newlines from default quota_status_overquota message.
Timo Sirainen [Fri, 2 Aug 2013 12:14:39 +0000 (15:14 +0300)] 
quota-status: Removed extra newlines from default quota_status_overquota message.
Patch by Ulrich Zehl

12 years agossl: Log SSL "close notify" alerts as debug messages, not warnings.
Timo Sirainen [Thu, 1 Aug 2013 12:35:35 +0000 (15:35 +0300)] 
ssl: Log SSL "close notify" alerts as debug messages, not warnings.
They are clean shutdown messages after all.

12 years agoquota: Don't log errors about missing namespaces for autocreated shared mail_users.
Timo Sirainen [Thu, 1 Aug 2013 12:00:59 +0000 (15:00 +0300)] 
quota: Don't log errors about missing namespaces for autocreated shared mail_users.

12 years agolib-storage: Improved seteuid() error messages a bit.
Timo Sirainen [Thu, 1 Aug 2013 11:23:33 +0000 (14:23 +0300)] 
lib-storage: Improved seteuid() error messages a bit.

12 years agolib-storage: If settings can't be read because of permission denied, restart process.
Timo Sirainen [Thu, 1 Aug 2013 11:18:24 +0000 (14:18 +0300)] 
lib-storage: If settings can't be read because of permission denied, restart process.

12 years agolib-master: Added master_service_settings_output.permission_denied error flag.
Timo Sirainen [Thu, 1 Aug 2013 11:18:00 +0000 (14:18 +0300)] 
lib-master: Added master_service_settings_output.permission_denied error flag.

12 years agolib-master: If config socket closes, retry connecting to it automatically.
Timo Sirainen [Thu, 1 Aug 2013 10:51:57 +0000 (13:51 +0300)] 
lib-master: If config socket closes, retry connecting to it automatically.

12 years agolib-master: If MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN is set, open the config socket...
Timo Sirainen [Thu, 1 Aug 2013 10:42:51 +0000 (13:42 +0300)] 
lib-master: If MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN is set, open the config socket before dropping privileges.

12 years agolib-storage: Ignore MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP if service user isn...
Timo Sirainen [Thu, 1 Aug 2013 10:31:25 +0000 (13:31 +0300)] 
lib-storage: Ignore MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP if service user isn't root.

12 years agoquota-status: Keep the config connection open.
Timo Sirainen [Tue, 30 Jul 2013 10:26:40 +0000 (13:26 +0300)] 
quota-status: Keep the config connection open.

12 years agolib-storage: With temporary privilege dropping, switch to root before doing config...
Timo Sirainen [Tue, 30 Jul 2013 10:26:07 +0000 (13:26 +0300)] 
lib-storage: With temporary privilege dropping, switch to root before doing config lookup.
This fixes the problem of not having enough permissions to connect to the
config socket.

12 years agolib-auth: Don't crash in auth_master_user_list_*() if socket can't be connected to.
Timo Sirainen [Tue, 30 Jul 2013 10:09:52 +0000 (13:09 +0300)] 
lib-auth: Don't crash in auth_master_user_list_*() if socket can't be connected to.

12 years agodirector: Avoid infinite SYNC loops if the originating director goes away for a long...
Timo Sirainen [Mon, 29 Jul 2013 20:22:46 +0000 (23:22 +0300)] 
director: Avoid infinite SYNC loops if the originating director goes away for a long time.

12 years agodirector: Update existing users' timestamps during handshake.
Timo Sirainen [Mon, 29 Jul 2013 19:49:17 +0000 (22:49 +0300)] 
director: Update existing users' timestamps during handshake.

12 years agodirector: Fixes to director-test.
Timo Sirainen [Mon, 29 Jul 2013 19:19:03 +0000 (22:19 +0300)] 
director: Fixes to director-test.

12 years agodirector: Fixes to handling users near expiration.
Timo Sirainen [Mon, 29 Jul 2013 19:11:46 +0000 (22:11 +0300)] 
director: Fixes to handling users near expiration.

12 years agodirector: Log director disconnection errno correctly.
Timo Sirainen [Mon, 29 Jul 2013 19:10:01 +0000 (22:10 +0300)] 
director: Log director disconnection errno correctly.