diff options
author | jgeboski <jgeboski@gmail.com> | 2015-12-24 18:05:38 -0500 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-12-24 18:05:38 -0500 |
commit | d23df657328e4f565dfba973885be7c5d2b35eae (patch) | |
tree | 23fe9684461df065cceaeb796a0fe034c240b1bb /facebook/facebook.c | |
parent | 3e09957c7523c9880aa810c8921bd2ed103f0858 (diff) | |
download | bitlbee-facebook-d23df657328e4f565dfba973885be7c5d2b35eae.tar.gz bitlbee-facebook-d23df657328e4f565dfba973885be7c5d2b35eae.tar.bz2 bitlbee-facebook-d23df657328e4f565dfba973885be7c5d2b35eae.tar.xz |
Coding style consistencies
Diffstat (limited to 'facebook/facebook.c')
-rw-r--r-- | facebook/facebook.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/facebook/facebook.c b/facebook/facebook.c index 9084332..664555e 100644 --- a/facebook/facebook.c +++ b/facebook/facebook.c @@ -345,7 +345,7 @@ fb_cb_api_messages(FbApi *api, GSList *msgs, gpointer data) fb_api_read(api, msg->uid, FALSE); } - imcb_buddy_msg(ic, uid, (gchar*) msg->text, flags, 0); + imcb_buddy_msg(ic, uid, (gchar *) msg->text, flags, 0); continue; } @@ -362,7 +362,7 @@ fb_cb_api_messages(FbApi *api, GSList *msgs, gpointer data) fb_api_read(api, msg->tid, TRUE); } - imcb_chat_msg(gc, uid, (gchar*) msg->text, flags, 0); + imcb_chat_msg(gc, uid, (gchar *) msg->text, flags, 0); } } } @@ -865,11 +865,11 @@ fb_cmd_account(irc_t *irc, char **args, guint required, guint *offset) { account_t *a; account_t *acct; - guint acctc; + guint acctc = 0; guint size; guint oset; - for (acctc= 0, a = irc->b->accounts; a != NULL; a = a->next) { + for (a = irc->b->accounts; a != NULL; a = a->next) { if ((g_ascii_strcasecmp(a->prpl->name, "facebook") == 0) && (a->ic != NULL)) { |