← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/server.c b/server.c
index 8eec9a3..37b67a9 100644
--- a/server.c
+++ b/server.c
@@ -4,7 +4,7 @@
#define PORT 8888
-int main()
+void hostGame()
{
int sfd, err = 0;
struct sockaddr_in addr;
@@ -30,6 +30,4 @@ int main()
printf("Failed to listen");
else
printf("Listening...\n");
-
- return 0;
}