From 998a3c8c31b9325333922073ca9dd8535f836747 Mon Sep 17 00:00:00 2001 From: Kranklyboy Date: Sun, 15 Apr 2018 00:02:23 +0200 Subject: [PATCH] Remove comments from OSUE-Team --- server.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/server.c b/server.c index ee43783..fee324d 100644 --- a/server.c +++ b/server.c @@ -6,7 +6,6 @@ * @brief Server for OSUE exercise 1B `Battleship'. */ -// IO, C standard library, POSIX API, data types: #include #include #include @@ -15,15 +14,12 @@ #include #include -// Assertions, errors, signals: #include #include #include -// Time: #include -// Sockets, TCP, ... : #include #include #include @@ -31,11 +27,11 @@ #include "common.h" -static const char *port = DEFAULT_PORT; // the port to bind to +static const char *port = DEFAULT_PORT; -static struct addrinfo *ai = NULL; // stores address information -static int sockfd = -1; // socket file descriptor -static int connfd = -1; // connection file descriptor +static struct addrinfo *ai = NULL; +static int sockfd = -1; +static int connfd = -1; static char* pname; struct Ship {