Kaynağa Gözat

HPCC-17110 JSocket::appendv4range should handle dash chars correctly

- Fixes incorrect spelling in comment

Signed-off-by: Rodrigo Pastrana <rodrigo.pastrana@lexisnexis.com>
Rodrigo Pastrana 8 yıl önce
ebeveyn
işleme
068f7092b8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      system/jlib/jsocket.cpp

+ 1 - 1
system/jlib/jsocket.cpp

@@ -5814,7 +5814,7 @@ inline bool appendv4range(SocketEndpointArray *array,char *str,SocketEndpoint &e
         else if (*s=='-')
         {
             if (!notip && dc==3 )//don't assume '-' is an ip range delimiter
-            {                    //also, IP range is only supported in 4rth octet
+            {                    //also, IP range is only supported in 4th octet
                 *s = 0;
                 s = (char *)getnum(s+1,rng);
             }