mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 14:36:20 +00:00
Applied coding style to src/event/
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#endif
|
||||
|
||||
jabber_conn_status_t
|
||||
cl_ev_connect_jid(const char * const jid, const char * const passwd, const char * const altdomain, const int port, const char *const tls_policy)
|
||||
cl_ev_connect_jid(const char *const jid, const char *const passwd, const char *const altdomain, const int port, const char *const tls_policy)
|
||||
{
|
||||
cons_show("Connecting as %s", jid);
|
||||
return jabber_connect_with_details(jid, passwd, altdomain, port, tls_policy);
|
||||
@@ -65,7 +65,7 @@ cl_ev_connect_account(ProfAccount *account)
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_presence_send(const resource_presence_t presence_type, const char * const msg, const int idle_secs)
|
||||
cl_ev_presence_send(const resource_presence_t presence_type, const char *const msg, const int idle_secs)
|
||||
{
|
||||
char *signed_status = NULL;
|
||||
|
||||
@@ -84,7 +84,7 @@ cl_ev_presence_send(const resource_presence_t presence_type, const char * const
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg)
|
||||
cl_ev_send_msg(ProfChatWin *chatwin, const char *const msg)
|
||||
{
|
||||
chat_state_active(chatwin->state);
|
||||
|
||||
@@ -154,13 +154,13 @@ cl_ev_send_msg(ProfChatWin *chatwin, const char * const msg)
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_send_muc_msg(ProfMucWin *mucwin, const char * const msg)
|
||||
cl_ev_send_muc_msg(ProfMucWin *mucwin, const char *const msg)
|
||||
{
|
||||
message_send_groupchat(mucwin->roomjid, msg);
|
||||
}
|
||||
|
||||
void
|
||||
cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char * const msg)
|
||||
cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char *const msg)
|
||||
{
|
||||
message_send_private(privwin->fulljid, msg);
|
||||
ui_outgoing_private_msg(privwin, msg);
|
||||
|
||||
Reference in New Issue
Block a user