aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index dc74827..7bfe826 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -1,8 +1,8 @@
#include "utils.h"
struct msg_t {
- long tag;
- char text[MSGSIZE];
+ long tag; // Message type, must be > 0. Value will be used by msgrcv()
+ char text[MSGSIZE]; // Message data
};
char *getChunkData(int mapperID) {