Changeset 14263


Ignore:
Timestamp:
Apr 27, 2014, 7:57:38 PM (8 years ago)
Author:
jordan
Message:

(trunk, daemon) #5621 'ratio vs ratio limit in transmission-remote' -- fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/remote.c

    r14241 r14263  
    10581058                    case TR_RATIOLIMIT_SINGLE:
    10591059                        if (tr_variantDictFindReal (t, TR_KEY_seedRatioLimit, &d))
    1060                             printf ("  Ratio Limit: %.2f\n", d);
     1060                            printf ("  Ratio Limit: %s\n", strlratio2 (buf, d, sizeof(buf)));
    10611061                        break;
    10621062                    case TR_RATIOLIMIT_UNLIMITED:
     
    15671567
    15681568                if (seedRatioLimited)
    1569                     tr_snprintf (buf, sizeof (buf), "%.2f", seedRatioLimit);
     1569                    strlratio2 (buf, seedRatioLimit, sizeof(buf));
    15701570                else
    15711571                    tr_strlcpy (buf, "Unlimited", sizeof (buf));
Note: See TracChangeset for help on using the changeset viewer.