Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hooks.c @ 393:f8f3c7493457
Whitespace cleanup
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 04 Aug 2005 23:04:54 +0100 |
parents | 868a350fefca |
children | b44be19d6229 |
comparison
equal
deleted
inserted
replaced
392:6329c9601704 | 393:f8f3c7493457 |
---|---|
1 /* | 1 /* |
2 * hooks.c -- Hooks layer | 2 * hooks.c -- Hooks layer |
3 * | 3 * |
4 * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net> | 4 * Copyright (C) 2005 Mikael Berthe <bmikael@lists.lilotux.net> |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or modify | 6 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU General Public License as published by | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or (at | 8 * the Free Software Foundation; either version 2 of the License, or (at |
73 hlog_write_message(jid, timestamp, TRUE, msg); | 73 hlog_write_message(jid, timestamp, TRUE, msg); |
74 // External command | 74 // External command |
75 hk_ext_cmd(jid, 'M', 'S', NULL); | 75 hk_ext_cmd(jid, 'M', 'S', NULL); |
76 } | 76 } |
77 | 77 |
78 inline void hk_statuschange(const char *jid, time_t timestamp, | 78 inline void hk_statuschange(const char *jid, time_t timestamp, |
79 enum imstatus status, const char *status_msg) | 79 enum imstatus status, const char *status_msg) |
80 { | 80 { |
81 scr_LogPrint(LPRINT_LOGNORM, "Buddy status has changed: [%c>%c] <%s> %s", | 81 scr_LogPrint(LPRINT_LOGNORM, "Buddy status has changed: [%c>%c] <%s> %s", |
82 imstatus2char[roster_getstatus(jid)], imstatus2char[status], jid, | 82 imstatus2char[roster_getstatus(jid)], imstatus2char[status], jid, |
83 ((status_msg) ? status_msg : "")); | 83 ((status_msg) ? status_msg : "")); |