Dynamic memory allocation on get chat recipient

This commit is contained in:
James Booth
2012-02-19 20:57:46 +00:00
parent 35d224a221
commit b3f42cd300
3 changed files with 9 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ int win_is_active(int i);
void win_switch_to(int i);
void win_close_win(void);
int win_in_chat(void);
void win_get_recipient(char *recipient);
char *win_get_recipient(void);
void win_show_incomming_msg(char *from, char *message);
void win_show_outgoing_msg(char *from, char *to, char *message);