Changeset 13658


Ignore:
Timestamp:
Dec 13, 2012, 5:22:30 AM (9 years ago)
Author:
jordan
Message:

(trunk, libT) #5169 fix FTBFS in torrentStart()

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r13653 r13658  
    489489    if (tr_torrentIsSeedRatioDone (tor))
    490490    {
    491         tr_torinf (tor, "Seed ratio reached; pausing torrent");
     491        tr_torinf (tor, "%s", "Seed ratio reached; pausing torrent");
    492492
    493493        tor->isStopping = true;
     
    500500    else if (tr_torrentIsSeedIdleLimitDone (tor))
    501501    {
    502         tr_torinf (tor, "Seeding idle limit reached; pausing torrent");
     502        tr_torinf (tor, "%s", "Seeding idle limit reached; pausing torrent");
    503503
    504504        tor->isStopping = true;
     
    17091709    /* allow finished torrents to be resumed */
    17101710    if (tr_torrentIsSeedRatioDone (tor)) {
    1711         tr_torinf (tor, _("Restarted manually -- disabling its seed ratio"));
     1711        tr_torinf (tor, "%s", _("Restarted manually -- disabling its seed ratio"));
    17121712        tr_torrentSetRatioMode (tor, TR_RATIOLIMIT_UNLIMITED);
    17131713    }
     
    18111811{
    18121812  tr_torrent * tor = vtor;
    1813   tr_torinf (tor, "Pausing");
     1813  tr_torinf (tor, "%s", "Pausing");
    18141814
    18151815  if (tr_torrentLock (tor))
  • trunk/libtransmission/tr-dht.c

    r13625 r13658  
    541541        if (tor) {
    542542            if (event == DHT_EVENT_SEARCH_DONE) {
    543                 tr_torinf (tor, "IPv4 DHT announce done");
     543                tr_torinf (tor, "%s", "IPv4 DHT announce done");
    544544                tor->dhtAnnounceInProgress = 0;
    545545            } else {
    546                 tr_torinf (tor, "IPv6 DHT announce done");
     546                tr_torinf (tor, "%s", "IPv6 DHT announce done");
    547547                tor->dhtAnnounce6InProgress = 0;
    548548            }
Note: See TracChangeset for help on using the changeset viewer.