More stuff done
This commit is contained in:
parent
da345fc422
commit
897c8150a5
4 changed files with 147 additions and 12 deletions
|
@ -35,7 +35,7 @@ int send_message(unsigned int sender, unsigned int receiver) {
|
|||
fgets(content, MAX_CONTENT_SIZE, stdin);
|
||||
|
||||
message msg;
|
||||
if (new_message(&msg, sender, receiver, content) != 0) {
|
||||
if (new_message(&msg, sender, 0, receiver, content) != 0) {
|
||||
printf("Error when creating new message\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue