~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to libpurple/protocols/gg/lib/events.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-01-03 16:36:53 UTC
  • mfrom: (2.3.15 sid)
  • Revision ID: james.westby@ubuntu.com-20110103163653-a2jye0x43v30p4a1
Tags: 1:2.7.9-1ubuntu1
Resynchronize on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1149
1149
 
1150
1150
                        e->type = GG_EVENT_NOTIFY60;
1151
1151
                        e->event.notify60 = malloc(sizeof(*e->event.notify60));
 
1152
 
1152
1153
                        if (!e->event.notify60) {
1153
1154
                                gg_debug_session(sess, GG_DEBUG_MISC, "// gg_watch_fd_connected() not enough memory for notify data\n");
1154
1155
                                goto fail;
1159
1160
                        while (length >= sizeof(struct gg_notify_reply80)) {
1160
1161
                                uint32_t descr_len;
1161
1162
                                char *tmp;
1162
 
                                
 
1163
 
1163
1164
                                e->event.notify60[i].uin        = gg_fix32(n->uin);
1164
1165
                                e->event.notify60[i].status     = gg_fix32(n->status);
1165
1166
                                e->event.notify60[i].remote_ip  = n->remote_ip;
1169
1170
                                e->event.notify60[i].version    = 0x00; /* not-supported */
1170
1171
                                e->event.notify60[i].time       = 0;    /* not-supported */
1171
1172
 
1172
 
                                
1173
1173
                                descr_len = gg_fix32(n->descr_len);
1174
1174
 
1175
1175
                                length -= sizeof(struct gg_notify_reply80);