| 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))); |