ソースを参照

Merge branch 'master' of https://github.com/acplt/open62541

Julius Pfrommer 9 年 前
コミット
3970411bfa
共有1 個のファイルを変更した0 個の追加1 個の削除を含む
  1. 0 1
      examples/networklayer_tcp.c

+ 0 - 1
examples/networklayer_tcp.c

@@ -502,7 +502,6 @@ ClientNetworkLayerTCP_connect(UA_ConnectionConfig localConf, char *endpointUrl,
             unsigned long int tempulong = strtoul(&endpointUrl[portpos+1], &endPtr, 10);
             if (ERANGE != errno &&
                 tempulong < UINT16_MAX &&
-                tempulong > 0 &&
                 endPtr != &endpointUrl[portpos+1])
             {
                 port = (UA_UInt16)tempulong;