headers angepisst

This commit is contained in:
tkarrass 2013-11-02 17:20:34 +01:00
parent 3d834b54cf
commit 5c25bf16b4
2 changed files with 2 additions and 3 deletions

2
msg.h
View File

@ -10,7 +10,7 @@ struct message {
long timestamp;
int width; // varies
int height; // normally 80
char **image; // dimension is width x height
char *image; // dimension is width x height
};
struct Buffer {
int size;

1
net.c
View File

@ -42,7 +42,6 @@ int run_server(const struct prog_info *pinfo) {
fprintf(stderr, "getaddrinfo: %s\n", gai_strerror(ret));
return 1;
}
// ...
for(p = servinfo; p != NULL; p = p->ai_next) {
if ((sockfd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) == -1) {