diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-23 13:30:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-23 13:30:45 +0300 |
commit | 5bcd9e270692e1c3839d9905dbe28d30108fc1a3 (patch) | |
tree | 6d2e4430549d7b8dbc0d605e68b623c445d3d6d6 /protocols/ConnectionNotify/src/netstat.h | |
parent | 48cdf8c723137754bd2dab9d4c0618afbd306d27 (diff) |
ConnectionNotify:
- fixes #2014 (traces of removed statuses);
- code cleaning
Diffstat (limited to 'protocols/ConnectionNotify/src/netstat.h')
-rw-r--r-- | protocols/ConnectionNotify/src/netstat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/ConnectionNotify/src/netstat.h b/protocols/ConnectionNotify/src/netstat.h index e4d1631775..de54663906 100644 --- a/protocols/ConnectionNotify/src/netstat.h +++ b/protocols/ConnectionNotify/src/netstat.h @@ -9,10 +9,10 @@ struct CONNECTION int state; DWORD Pid; wchar_t PName[260]; - struct CONNECTION *next; + CONNECTION *next; }; -struct CONNECTION* GetConnectionsTable(); -void deleteConnectionsTable(struct CONNECTION* head); -struct CONNECTION* searchConnection(struct CONNECTION* head, wchar_t *intIp, wchar_t *extIp, int intPort, int extPort, int state); +CONNECTION* GetConnectionsTable(); +void deleteConnectionsTable(CONNECTION* head); +CONNECTION* searchConnection(CONNECTION* head, wchar_t *intIp, wchar_t *extIp, int intPort, int extPort, int state); void getDnsName(wchar_t *strIp, wchar_t *strHostName, size_t len); |