Skip to content

Commit

Permalink
fixing unit test
Browse files Browse the repository at this point in the history
+ remove unused
  • Loading branch information
dernasherbrezon committed Jan 6, 2025
1 parent 90aa94b commit ec479ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ include_directories(${PC_LIBAIRSPY_INCLUDE_DIRS})
pkg_check_modules(PC_LIBHACKRF REQUIRED libhackrf)
include_directories(${PC_LIBHACKRF_INCLUDE_DIRS})

message("${PC_LIBHACKRF_INCLUDE_DIRS}")

pkg_check_modules(PC_ZLIB REQUIRED zlib)
include_directories(${PC_ZLIB_INCLUDE_DIRS})
link_directories(${PC_ZLIB_LIBRARY_DIRS})
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Is good. Some numbers in ```test/perf_xlating.c```
sdr-server depends on several libraries:

* [librtlsdr](https://github.com/dernasherbrezon/librtlsdr). Version >=0.5.4 is required.
* [libairspy](https://github.com/airspy/airspyone_host/)
* [libhackrf](https://github.com/greatscottgadgets/hackrf)
* [libconfig](https://hyperrealm.github.io/libconfig/libconfig_manual.html)
* libz. Should be installed in every operational system
* libm. Same
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void handle_new_client(int client_socket, tcp_server *server) {
fprintf(stderr, "<3>[%d] requested out of band frequency: %d\n", server->client_counter, config->band_freq);
pthread_mutex_unlock(&server->mutex);
// this will shutdown the thread
shutdown(tcp_node->config->client_socket, SHUT_RDWR);
close(tcp_node->config->client_socket);
// this one will close any remaning resources
tcp_node_final_cleanup(tcp_node);
return;
Expand Down

0 comments on commit ec479ae

Please sign in to comment.