Update test plugins

This commit is contained in:
James Booth
2017-01-28 19:45:42 +00:00
parent 4f9f513c08
commit 16cb1452c0
2 changed files with 6 additions and 3 deletions

View File

@@ -791,7 +791,7 @@ prof_pre_chat_message_send(const char * const barejid, const char *message)
sprintf(buf, "%s%s, %s", str, barejid, message);
prof_win_show(plugin_win, buf);
return NULL;
return strdup(message);
}
void
@@ -839,7 +839,7 @@ prof_pre_room_message_send(const char * const barejid, const char *message)
sprintf(buf, "%s%s, %s", str, barejid, message);
prof_win_show(plugin_win, buf);
return NULL;
return strdup(message);
}
void
@@ -904,7 +904,7 @@ prof_pre_priv_message_send(const char * const barejid, const char * const nick,
sprintf(buf, "%s%s, %s, %s", str, barejid, nick, message);
prof_win_show(plugin_win, buf);
return NULL;
return strdup(message);
}
void