Browse Source

fix build

Stasik0 10 years ago
parent
commit
5c2dc5f60f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/networklayer_tcp.c

+ 2 - 2
examples/networklayer_tcp.c

@@ -378,8 +378,8 @@ static UA_Int32 NetworkLayerTCP_getWork(NetworkLayerTCP *layer, UA_WorkItem **wo
 }
 
 static UA_Int32 NetworkLayerTCP_stop(NetworkLayerTCP * layer, UA_WorkItem **workItems) {
-	for(UA_Int32 index = 0;index < layer->conLinksSize;index++)
-        closeConnection(layer->conLinks[index].connection);
+	for(UA_Int32 i = 0;i < layer->conLinksSize;i++)
+        closeConnection(layer->conLinks[i].connection);
 #ifdef _WIN32
 	WSACleanup();
 #endif