Ignore:
Timestamp:
2015-03-02T03:27:16Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
56985aa
Parents:
ce70e88
git-author:
Antoine Pietri <antoine.pietri@…> (01-03-15 17:47:15)
git-committer:
dequis <dx@…> (02-03-15 03:27:16)
Message:

purple: move PurpleAccount from proto_data in a struct purple_data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/ft.c

    rce70e88 rd93c8beb  
    2828
    2929#include "bitlbee.h"
     30#include "bpurple.h"
    3031
    3132#include <stdarg.h>
     
    285286{
    286287        struct prpl_xfer_data *px = ft->data;
    287         PurpleAccount *pa = px->ic->proto_data;
     288        struct purple_data *pd = px->ic->proto_data;
    288289
    289290        /* xfer_new() will pick up this variable. It's a hack but we're not
    290291           multi-threaded anyway. */
    291292        next_ft = ft;
    292         serv_send_file(purple_account_get_connection(pa), px->handle, px->fn);
     293        serv_send_file(purple_account_get_connection(pd->account),
     294                   px->handle, px->fn);
    293295}
    294296
Note: See TracChangeset for help on using the changeset viewer.