Closed GoogleCodeExporter closed 9 years ago
Oops. Hit enter too early.
Here's the diff. Note that it's based on the diff from issue 221. If you didn't
apply that one, the line numbers might be wrong, and the last line should read:
if (!g_ascii_strcasecmp(cmd, "reply")) {
instead of
if (!g_ascii_strcasecmp(cmd, "replyall")) {
--- twitgin/twitgin.c.crash 2010-12-02 09:42:40.000000000 +0200
+++ twitgin/twitgin.c 2010-12-02 09:57:08.000000000 +0200
@@ -190,6 +190,12 @@
if ( acct && (proto_id > 0) ) {
purple_debug_info(DBGID, "found account with libtwitter, proto_id = %d\n", proto_id);
+
+ if (!(acct->gc)) {
+ purple_debug_info(DBGID, "account doesn't have a GC
[whatever that is]; probably disconnected.");
+ return FALSE;
+ }
+
ma = (MbAccount *)acct->gc->proto_data;
if (!g_ascii_strcasecmp(cmd, "replyall")) {
Original comment by mikeage
on 2 Dec 2010 at 8:03
Attachments:
Patch merged.
Original comment by somsaks
on 3 Dec 2010 at 4:26
Original issue reported on code.google.com by
mikeage
on 2 Dec 2010 at 8:02Attachments: