Skip to content

Commit

Permalink
Merge branch '5.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
martinknafve committed Oct 20, 2014
2 parents 77d6656 + 920d465 commit 207b6d5
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 363 deletions.
13 changes: 12 additions & 1 deletion hmailserver/source/Server/IMAP/IMAPNotificationClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "../Common/BO/Messages.h"
#include "../Common/BO/IMAPFolder.h"

#include "../Common/TCPIP/DisconnectedException.h"

#ifdef _DEBUG
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
Expand Down Expand Up @@ -94,7 +95,17 @@ namespace HM
return;

if (parentConnection->GetIsIdling())
SendChangeNotification_(notification);
{
try
{
SendChangeNotification_(notification);
}
catch (DisconnectedException&)
{
// We were unable to send the notifications to the client, because he has disconnected.
// This is normal behavior, and not an error we want to log.
}
}
else
CacheChangeNotification_(notification);
}
Expand Down
276 changes: 138 additions & 138 deletions hmailserver/source/Tools/Administrator/Dialogs/formConnect.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ private void btnAdd_Click(object sender, EventArgs e)
{
formServerInformation serverDlg = new formServerInformation();

Server server = new Server();
Server server = new Server()
{
userName = "Administrator"
};

serverDlg.Server = server;

if (serverDlg.ShowDialog() == DialogResult.OK)
Expand Down
Loading

0 comments on commit 207b6d5

Please sign in to comment.