comparison libpurple/protocols/irc/irc.c @ 18058:4ca97b26a8fb

Mark the return type const for the following functions. I noticed this while fixing some DBus stuff which I'll commit shortly. * purple_accounts_get_all * purple_connections_get_all * purple_connections_get_connecting * purple_conv_chat_get_ignored * purple_conv_chat_get_users * purple_get_chats * purple_get_conversations * purple_get_ims * purple_notify_user_info_get_entries References #1344
author Richard Laager <rlaager@wiktel.com>
date Thu, 07 Jun 2007 04:22:42 +0000
parents 62a71bb085ef
children 926ccb104da0
comparison
equal deleted inserted replaced
18057:23b03396e71e 18058:4ca97b26a8fb
590 590
591 PurpleConnection *gc = data; 591 PurpleConnection *gc = data;
592 struct irc_conn *irc = gc->proto_data; 592 struct irc_conn *irc = gc->proto_data;
593 int len; 593 int len;
594 594
595 if(!g_list_find(purple_connections_get_all(), gc)) { 595 if(!g_list_find((GList *)purple_connections_get_all(), gc)) {
596 purple_ssl_close(gsc); 596 purple_ssl_close(gsc);
597 return; 597 return;
598 } 598 }
599 599
600 if (irc->inbuflen < irc->inbufused + IRC_INITIAL_BUFSIZE) { 600 if (irc->inbuflen < irc->inbufused + IRC_INITIAL_BUFSIZE) {