diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-14 18:27:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-14 18:27:05 +0000 |
commit | e53b020018a365cd23fcb897980da5f6a0075e16 (patch) | |
tree | 192e702ae3a436acb8db1515178a2590ee01ad77 /src/modules/netlib | |
parent | f981f964c82253757f8298f313eb1dedfdf06147 (diff) |
10 bytes that shattered the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib')
-rw-r--r-- | src/modules/netlib/netlibbind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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++;
|