diff options
Diffstat (limited to 'plugins/ConnectionNotify/src/ConnectionNotify.cpp')
| -rw-r--r-- | plugins/ConnectionNotify/src/ConnectionNotify.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index 01f15f3ebd..2a08772b9e 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -798,7 +798,7 @@ void showMsg(TCHAR *pName, DWORD pid,TCHAR *intIp,TCHAR *extIp,int intPort,int e  	struct CONNECTION *mpd = (struct CONNECTION*)mir_alloc(sizeof(struct CONNECTION));
  	//MessageBox(NULL,"aaa","aaa",1);
 -	ZeroMemory(&ppd, sizeof(ppd)); //This is always a good thing to do.
 +	memset(&ppd, 0, sizeof(ppd)); //This is always a good thing to do.
  	ppd.lchContact = NULL;//(HANDLE)hContact; //Be sure to use a GOOD handle, since this will not be checked.
  	ppd.lchIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_ICON1));
  	if (settingResolveIp) {
 @@ -886,7 +886,7 @@ extern "C" int __declspec(dllexport) Load(void)  	LoadSettings();
  	connExceptions=LoadSettingsConnections();
  //create protocol
 -	//ZeroMemory(&pd,sizeof(pd));
 +	//memset(&pd, 0, sizeof(pd));
  	//pd.cbSize=sizeof(pd);
   	pd.szName=PLUGINNAME;
  	pd.type=PROTOTYPE_PROTOCOL;
  | 
