libpurple/protocols/silc/buddy.c

changeset 35696
93b8292b2779
parent 35681
54694ef14d46
child 35833
a7bfc2479cbd
child 37133
832cd077145e
equal deleted inserted replaced
35695:3ab780c31f66 35696:93b8292b2779
1287 /* Verify from user which one is correct */ 1287 /* Verify from user which one is correct */
1288 silcpurple_add_buddy_select(r, clients); 1288 silcpurple_add_buddy_select(r, clients);
1289 return; 1289 return;
1290 } 1290 }
1291 } 1291 }
1292
1293 g_return_if_fail(client_entry != NULL);
1292 1294
1293 /* The client was found. Now get its public key and verify 1295 /* The client was found. Now get its public key and verify
1294 that before adding the buddy. */ 1296 that before adding the buddy. */
1295 memset(&userpk, 0, sizeof(userpk)); 1297 memset(&userpk, 0, sizeof(userpk));
1296 purple_buddy_set_protocol_data(b, silc_memdup(&client_entry->id, sizeof(client_entry->id))); 1298 purple_buddy_set_protocol_data(b, silc_memdup(&client_entry->id, sizeof(client_entry->id)));

mercurial