Bladeren bron

minor fixes here and there

Stasik0 10 jaren geleden
bovenliggende
commit
9e7660b783
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      examples/networklayer_tcp.c
  2. 1 1
      tools/.deployDoxygen.sh

+ 1 - 1
examples/networklayer_tcp.c

@@ -243,7 +243,7 @@ void worksocks(NetworklayerTCP *layer, UA_Server *server, UA_UInt32 workamount)
 	// read from established sockets
 	for(UA_UInt32 i=0;i<layer->connectionsSize && workamount > 0;i++) {
 		if(FD_ISSET(layer->connections[i].sockfd, &layer->fdset)) {
-			int n = 0;
+			UA_Int32 n = 0;
 			IOCTLSOCKET(layer->connections[i].sockfd, FIONREAD, &n);
 			if(n==0){ /* the socket has been closed by the client - remove the socket from the socket list */
 				layer->connections[i].connection.close(layer->connections[i].connection.callbackHandle);

+ 1 - 1
tools/.deployDoxygen.sh

@@ -21,5 +21,5 @@ if [[ "$COMMITS" -le "1" ]]; then
    cd ..
    rm -rf open62541-www
 else
-    echo "Not the first commit of the day - no push to coverity required"
+    echo "Not the first commit of the day - no doxygen update required"
 fi