~ubuntu-branches/ubuntu/precise/transmission/precise

« back to all changes in this revision

Viewing changes to libtransmission/upnp.c

  • Committer: Bazaar Package Importer
  • Author(s): Leo Costela
  • Date: 2009-07-25 20:20:23 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (2.1.19 sid)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20090725202023-9xmfycsfotr430nv
* debian/rules: patch before configure
* debian/patches: add patch to not build libevent, regardless of
  linking (really, really closes: #537868)
* debian/changelog: fix dates

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
9
 *
10
 
 * $Id: upnp.c 8271 2009-04-22 16:00:45Z charles $
 
10
 * $Id: upnp.c 8767 2009-07-01 14:58:57Z charles $
11
11
 */
12
12
 
13
13
#include <assert.h>
19
19
#include "transmission.h"
20
20
#include "port-forwarding.h"
21
21
#include "session.h"
 
22
#include "upnp.h"
22
23
#include "utils.h"
23
 
#include "upnp.h"
24
24
 
25
25
static const char *
26
26
getKey( void ) { return _( "Port Forwarding (UPnP)" ); }
194
194
                 handle->lanaddr, port );
195
195
        if( handle->isMapped )
196
196
        {
197
 
            tr_ninf( getKey( ), _( "Port forwarding successful!" ) );
 
197
            tr_ninf( getKey( ), "%s", _( "Port forwarding successful!" ) );
198
198
            handle->port = port;
199
199
            handle->state = TR_UPNP_IDLE;
200
200
        }