--- a/src/main.c
+++ b/src/main.c
@@ -8,12 +8,6 @@
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-
#include <signal.h>
#include <locale.h>
#include <libintl.h>
@@ -37,7 +31,7 @@
int main (int argc, char **argv)
{
UC uc;
- MSG message = { NULL, 0, 0, 0, 0, 0, 0 };
+ MSG message;
char buf[513];
char *msg;
char *command;
@@ -96,7 +90,6 @@
}
while (!feof (message.stream)) {
- message.line = NULL;
*buf = 0;
fgets (buf, 512, message.stream);