Skip to content

Commit

Permalink
Room to compile unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
darek-margas committed Aug 7, 2024
1 parent f1644b7 commit 40e4fd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/GELFsender.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void sigio_handler(int signo)
data_ready = 1;
}

#ifndef UNIT_TEST
int main(int argc, char *argv[]) {
int sock_fd1 = -1, sock_fd2 = -1;
char buffer[BUFFER_SIZE];
Expand Down Expand Up @@ -274,3 +275,4 @@ int main(int argc, char *argv[]) {
closelog();
return 0;
}
#endif

0 comments on commit 40e4fd4

Please sign in to comment.