- Timestamp:
- 2010-07-16T23:31:55Z (14 years ago)
- Branches:
- master
- Children:
- e437366
- Parents:
- 3709301 (diff), ef14a83 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r3709301 r4346c3f4 2531 2531 struct groupchat *c; 2532 2532 2533 chatname = g_strdup_printf("%s%s _%d", isdigit(*ic->acc->user) ? "icq_" : "",2533 chatname = g_strdup_printf("%s%s%d", isdigit(*ic->acc->user) ? "icq" : "", 2534 2534 ic->acc->user, chat_id++); 2535 2535 -
protocols/twitter/twitter_lib.c
r3709301 r4346c3f4 36 36 #include <errno.h> 37 37 38 /* GLib < 2.12.0 doesn't have g_ascii_strtoll(), work around using system strtoll(). */ 39 /* GLib < 2.12.4 can be buggy: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488013 */ 40 #if !GLIB_CHECK_VERSION(2,12,5) 41 #include <stdlib.h> 42 #include <limits.h> 43 #define g_ascii_strtoll strtoll 44 #endif 45 38 46 #define TXL_STATUS 1 39 47 #define TXL_USER 2 … … 66 74 static void txu_free(struct twitter_xml_user *txu) 67 75 { 76 if (txu == NULL) 77 return; 68 78 g_free(txu->name); 69 79 g_free(txu->screen_name); … … 89 99 { 90 100 GSList *l; 101 if (txl == NULL) 102 return; 91 103 for ( l = txl->list; l ; l = g_slist_next(l) ) 92 104 if (txl->type == TXL_STATUS) … … 473 485 { 474 486 status = l->data; 487 if (status->user == NULL || status->text == NULL) 488 continue; 489 475 490 twitter_add_buddy(ic, status->user->screen_name, status->user->name); 476 491
Note: See TracChangeset
for help on using the changeset viewer.