Ignore:
Timestamp:
Dec 7, 2012, 1:53:31 AM (9 years ago)
Author:
jordan
Message:

(trunk, libT) #5165: fix r13625 oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r13625 r13631  
    3030
    3131static const char *
    32 getKey (void) { return _ ("Port Forwarding (NAT-PMP)"); }
     32getKey (void) { return _("Port Forwarding (NAT-PMP)"); }
    3333
    3434typedef enum
     
    7070        return;
    7171    if (ret >= 0)
    72         tr_ninf (getKey (), _ ("%s succeeded (%d)"), func, ret);
     72        tr_ninf (getKey (), _("%s succeeded (%d)"), func, ret);
    7373    else
    7474        tr_ndbg (
     
    139139            char str[128];
    140140            evutil_inet_ntop (AF_INET, &response.pnu.publicaddress.addr, str, sizeof (str));
    141             tr_ninf (getKey (), _ ("Found public address \"%s\""), str);
     141            tr_ninf (getKey (), _("Found public address \"%s\""), str);
    142142            nat->state = TR_NATPMP_IDLE;
    143143        }
     
    174174            const int private_port = resp.pnu.newportmapping.privateport;
    175175
    176             tr_ninf (getKey (), _ ("no longer forwarding port %d"), private_port);
     176            tr_ninf (getKey (), _("no longer forwarding port %d"), private_port);
    177177
    178178            if (nat->private_port == private_port)
     
    219219            nat->private_port = resp.pnu.newportmapping.privateport;
    220220            nat->public_port = resp.pnu.newportmapping.mappedpublicport;
    221             tr_ninf (getKey (), _ ("Port %d forwarded successfully"), nat->private_port);
     221            tr_ninf (getKey (), _("Port %d forwarded successfully"), nat->private_port);
    222222        }
    223223        else if (val != NATPMP_TRYAGAIN)
Note: See TracChangeset for help on using the changeset viewer.