From e53b020018a365cd23fcb897980da5f6a0075e16 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Jun 2012 18:27:05 +0000 Subject: 10 bytes that shattered the core git-svn-id: http://svn.miranda-ng.org/main/trunk@415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/netlib/netlibbind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/netlib') diff --git a/src/modules/netlib/netlibbind.cpp b/src/modules/netlib/netlibbind.cpp index 7e5724994d..22e3876e42 100644 --- a/src/modules/netlib/netlibbind.cpp +++ b/src/modules/netlib/netlibbind.cpp @@ -55,7 +55,7 @@ bool BindSocketToPort(const char *szPorts, SOCKET s, SOCKET s6, int* portn) for (psz=szPorts;*psz;) { - while (*psz == ' ' || *psz == ', ') psz++; + while (*psz == ' ' || *psz == ',') psz++; portMin = strtol(psz, &pszEnd, 0); if (pszEnd == psz) break; while (*pszEnd == ' ') pszEnd++; -- cgit v1.2.3