X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=octopi%2Flibrary%2Fsockets%2Finternet_address.cpp;h=38e77ca81adbfd252488b07c9207158363c82c63;hb=d5df8bcf79c917354f34b44d5d4658653e9cefda;hp=ac6c90abca29217a303ec1c537961a352cb612ee;hpb=51d71c226be424b6a698c7474d237e8c69661af5;p=feisty_meow.git diff --git a/octopi/library/sockets/internet_address.cpp b/octopi/library/sockets/internet_address.cpp index ac6c90ab..38e77ca8 100644 --- a/octopi/library/sockets/internet_address.cpp +++ b/octopi/library/sockets/internet_address.cpp @@ -440,7 +440,7 @@ bool internet_address::is_valid_internet_address(const astring &to_check, ip_form += (abyte)nTemp; // get the next part of the string - p = strtok(NIL, "."); + p = strtok(NULL_POINTER, "."); } // if p is non-null, there was extra stuff at the end, so return false.