2019-04-27 06:49:04 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2019-04-29 03:42:44 +00:00
|
|
|
#include "journal.h"
|
|
|
|
|
|
|
|
void handle_emotion(FILE *journal, char* msg)
|
2019-04-27 06:49:04 +00:00
|
|
|
{
|
2019-04-30 04:56:13 +00:00
|
|
|
char formatted[512];
|
|
|
|
sprintf(formatted, "%s\n", msg);
|
|
|
|
journal_write(journal, formatted);
|
2019-04-27 06:49:04 +00:00
|
|
|
return;
|
|
|
|
}
|