initial ssl support

This commit is contained in:
2025-05-08 18:31:06 +02:00
parent 8ff2bb608c
commit 79687bd48f
7 changed files with 79 additions and 32 deletions

View File

@@ -14,8 +14,8 @@ int main(int argc, char **argv) {
struct sigaction act = {.sa_handler = cws_signal_handler};
ret = sigaction(SIGINT, &act, NULL);
if (!ret) {
CWS_LOG_ERROR("sigaction()");
if (ret) {
CWS_LOG_ERROR("sigaction(): %s", strerror(errno));
return 1;
}