Changeset f1f7b5e for protocols/jabber


Ignore:
Timestamp:
2010-07-24T22:50:23Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8b01217
Parents:
2945c6f
Message:

Take the local address from the IM/IRC connection when setting up a listening
socket for file transfers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/s5bytestream.c

    r2945c6f rf1f7b5e  
    911911               
    912912                if( strcmp( proxy, "<local>" ) == 0 ) {
    913                         if( ( tf->fd = ft_listen( &tf->saddr, host, port, FALSE, &errmsg ) ) != -1 ) {
     913                        if( ( tf->fd = ft_listen( &tf->saddr, host, port, jd->fd, FALSE, &errmsg ) ) != -1 ) {
    914914                                sh = g_new0( jabber_streamhost_t, 1 );
    915915                                sh->jid = g_strdup( tf->ini_jid );
Note: See TracChangeset for help on using the changeset viewer.