diff options
author | Mike Ruprecht <cmaiku@gmail.com> | 2018-05-03 18:17:21 -0500 |
---|---|---|
committer | Mike Ruprecht <cmaiku@gmail.com> | 2018-05-03 18:17:21 -0500 |
commit | 13f37a7112d05a74b8d59e9de665e131bf76c424 (patch) | |
tree | fa6c44e160201f90429439f1f85904820f4672e1 /libpurple/server.c | |
parent | 029fb8f0013482b8b72907da10dcf8586044fbf9 (diff) | |
download | pidgin-13f37a7112d05a74b8d59e9de665e131bf76c424.tar.gz |
xfer: Rename PurpleProtocolXferInterface.send() to send_file()
With the addition of PurpleProtocolXferInterface, building in Windows
fails due to the redefinition of send() as wpurple_send(). Since a
lot of the prpls already call it this their implementations, this
patch renames it to send_file(). This fixes building on Windows
again.
Diffstat (limited to 'libpurple/server.c')
-rw-r--r-- | libpurple/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpurple/server.c b/libpurple/server.c index ee6572972e..50a3050c06 100644 --- a/libpurple/server.c +++ b/libpurple/server.c @@ -900,7 +900,8 @@ void purple_serv_send_file(PurpleConnection *gc, const char *who, const char *fi PurpleProtocolXfer *xfer = PURPLE_PROTOCOL_XFER(protocol); if(purple_protocol_xfer_can_receive(xfer, gc, who)) { - purple_protocol_xfer_send(xfer, gc, who, file); + purple_protocol_xfer_send_file(xfer, + gc, who, file); } } } |