summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netlib.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-23 19:03:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-23 19:03:18 +0000
commit8ed8b8bee2fa6abdfaa4b92543070baef0f340cb (patch)
tree3531535e9094ca3cd7bb52ea6101dfaecca63e6c /src/modules/netlib/netlib.h
parented81133e974f844c73ebf717cd0f5bc15e3981fc (diff)
- fix for the old & nasty bug in netlib that rarely crashed Facebook & VK
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@6602 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netlib.h')
-rw-r--r--src/modules/netlib/netlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/netlib/netlib.h b/src/modules/netlib/netlib.h
index 290d9b44b6..0108604f6b 100644
--- a/src/modules/netlib/netlib.h
+++ b/src/modules/netlib/netlib.h
@@ -21,12 +21,12 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define GetNetlibHandleType(h) (h?*(int*)h:NLH_INVALID)
#define NLH_INVALID 0
#define NLH_USER 'USER'
#define NLH_CONNECTION 'CONN'
#define NLH_BOUNDPORT 'BIND'
#define NLH_PACKETRECVER 'PCKT'
+int GetNetlibHandleType(void*);
struct NetlibUser
{