aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib
diff options
context:
space:
mode:
authorAndrea Smith <smit9523@umn.edu>2020-10-24 11:23:09 -0500
committerAndrea Smith <smit9523@umn.edu>2020-10-24 11:23:09 -0500
commitc9708f1b24aa30b2d05054575a8f78869caa73d7 (patch)
treed1e6f63a3ffcc118ee48fe52f26e391a03727ba4 /P2/lib
parentAdd struct (diff)
downloadcsci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar.gz
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar.bz2
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar.lz
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar.xz
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.tar.zst
csci4061-c9708f1b24aa30b2d05054575a8f78869caa73d7.zip
Comments
Diffstat (limited to 'P2/lib')
-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) {