From 3c077c550f4461e6b7a240c0d5efde7514fb89b2 Mon Sep 17 00:00:00 2001 From: tkarrass Date: Sat, 2 Nov 2013 18:51:10 +0100 Subject: [PATCH] comment --- src/msg.h | 5 +++++ src/net.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/msg.h b/src/msg.h index 24f14a9..636d466 100644 --- a/src/msg.h +++ b/src/msg.h @@ -12,6 +12,11 @@ struct message { uint32_t height; // normally 80 //char **image; // dimension is width x height char *image; // dimension is width x height + +/* + * image[row][col] >>> image[row*width+col]; + */ + }; int getBufferSize(struct message *msg); diff --git a/src/net.c b/src/net.c index 4376155..555c1e4 100644 --- a/src/net.c +++ b/src/net.c @@ -13,6 +13,7 @@ #include #include "misc.h" +#include "msg.h" void *get_in_addr(struct sockaddr *sa) {