Loading project.yml +5 −4 Original line number Diff line number Diff line Loading @@ -21,21 +21,22 @@ - +:test/** - -:test/support - src/** - vendor/protobuf-c/* :support: - test/support/** :source: - src/lib/* - src/utility/* - vendor/protobuf-c/protobuf-c/* - vendor/socket99/* - vendor/socket99/socket99.c :include: - include/** - vendor/socket99/ - vendor/protobuf-c/ # Refactor release build once the Kinetic-C library is built, and link to it sepearately :release_toolchain_include: - include/** - vendor/protobuf-c/* - vendor/socket99/* - vendor/protobuf-c/ - vendor/socket99/ :defines: # in order to add common defines: Loading src/lib/kinetic_socket.c +2 −1 Original line number Diff line number Diff line Loading @@ -301,7 +301,8 @@ void KineticSocket_Close(int socketDescriptor) { sprintf(message, "Closing socket with fd=%d", socketDescriptor); LOG(message); if (KineticSocket_CloseSocket(socketDescriptor)) // if (KineticSocket_CloseSocket(socketDescriptor)) if (close(socketDescriptor)) { LOG("Socket closed successfully"); } Loading test/system/test_kinetic_api_system.c +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ #include "unity.h" #include "unity_helper.h" #include <protobuf-c/protobuf-c.h> #include "protobuf-c/protobuf-c.h" #include "socket99.h" #include <string.h> #include <stdlib.h> Loading Loading
project.yml +5 −4 Original line number Diff line number Diff line Loading @@ -21,21 +21,22 @@ - +:test/** - -:test/support - src/** - vendor/protobuf-c/* :support: - test/support/** :source: - src/lib/* - src/utility/* - vendor/protobuf-c/protobuf-c/* - vendor/socket99/* - vendor/socket99/socket99.c :include: - include/** - vendor/socket99/ - vendor/protobuf-c/ # Refactor release build once the Kinetic-C library is built, and link to it sepearately :release_toolchain_include: - include/** - vendor/protobuf-c/* - vendor/socket99/* - vendor/protobuf-c/ - vendor/socket99/ :defines: # in order to add common defines: Loading
src/lib/kinetic_socket.c +2 −1 Original line number Diff line number Diff line Loading @@ -301,7 +301,8 @@ void KineticSocket_Close(int socketDescriptor) { sprintf(message, "Closing socket with fd=%d", socketDescriptor); LOG(message); if (KineticSocket_CloseSocket(socketDescriptor)) // if (KineticSocket_CloseSocket(socketDescriptor)) if (close(socketDescriptor)) { LOG("Socket closed successfully"); } Loading
test/system/test_kinetic_api_system.c +2 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,8 @@ #include "unity.h" #include "unity_helper.h" #include <protobuf-c/protobuf-c.h> #include "protobuf-c/protobuf-c.h" #include "socket99.h" #include <string.h> #include <stdlib.h> Loading