djumbai_client_receiver done?
This commit is contained in:
@@ -8,7 +8,7 @@ int new_message(message *m, unsigned int sender, unsigned int isgroup, unsigned
|
||||
m->header.sender = sender;
|
||||
m->header.isgroup = isgroup;
|
||||
m->header.receiver = receiver;
|
||||
time(&m->header.timestamp);
|
||||
gettimeofday(&m->header.timestamp,NULL);
|
||||
strncpy(m->content, content, MAX_CONTENT_SIZE);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user