Skip to content

Commit

Permalink
Merge pull request #4 from PackmanDude/main
Browse files Browse the repository at this point in the history
Update 0.1.0
  • Loading branch information
PackmanDude authored Jun 24, 2024
2 parents b34db3a + 2a7b312 commit 0782928
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
(cd "$(dirname "$0")/source"
gcc -std=c99 -Wall -Wextra -Wpedantic -Wformat=2 -Wshadow -Wwrite-strings \
-Wstrict-prototypes -Wold-style-definition -Wredundant-decls -Wnested-externs \
-Wmissing-include-dirs -Wjump-misses-init -Wlogical-op -I../include \
-I../source -O2 -flto -pthread network.c log.c ../main.c -o ../main $@)
-Wmissing-include-dirs -Wjump-misses-init -Wlogical-op -I../include -I. -O2 \
-flto -pthread -DNDEBUG network.c log.c ../main.c -o ../BullshitCore $@
strip ../BullshitCore)
5 changes: 5 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#define MAX_CONNECTIONS 15
#define FAVICON

// It is all pointers??!
// Always has been.
// TODO: Escalate further.
struct ThreadArguments
{
int *p_client_endpoint;
Expand Down Expand Up @@ -150,7 +153,9 @@ packet_receiver(void * restrict thread_arguments)
break;
}
}
#ifndef NDEBUG
bullshitcore_log_log("looped");
#endif
}
}
get_closed_receiver:
Expand Down

1 comment on commit 0782928

@p0loskun
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boolshitcore.mp4

Please sign in to comment.