Changeset 1174


Ignore:
Timestamp:
Dec 8, 2006, 6:14:43 AM (15 years ago)
Author:
joshe
Message:

Catch up with announce info relocation.

Location:
branches/multitracker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/multitracker/cli/transmissioncli.c

    r1152 r1174  
    122122        tr_info_t * info = tr_torrentInfo( tor );
    123123
     124        s = tr_torrentStat( tor );
     125
    124126        /* Print torrent info (quite à la btshowmetainfo) */
    125127        printf( "hash:     " );
     
    130132        printf( "\n" );
    131133        printf( "tracker:  %s:%d\n",
    132                 info->trackerAddress, info->trackerPort );
    133         printf( "announce: %s\n", info->trackerAnnounce );
     134                s->trackerAddress, s->trackerPort );
     135        printf( "announce: %s\n", s->trackerAnnounce );
    134136        printf( "size:     %"PRIu64" (%"PRIu64" * %d + %"PRIu64")\n",
    135137                info->totalSize, info->totalSize / info->pieceSize,
  • branches/multitracker/gtk/dialogs.c

    r1150 r1174  
    573573  INFOSEP(table, ii);
    574574
    575   if(80 == in->trackerPort)
     575  if(80 == sb->trackerPort)
    576576    INFOLINEA(table, ii, _("Tracker:"), g_strdup_printf("http://%s",
    577               in->trackerAddress));
     577              sb->trackerAddress));
    578578  else
    579579    INFOLINEA(table, ii, _("Tracker:"), g_strdup_printf("http://%s:%i",
    580               in->trackerAddress, in->trackerPort));
    581   INFOLINE(table, ii, _("Announce:"), in->trackerAnnounce);
     580              sb->trackerAddress, sb->trackerPort));
     581  INFOLINE(table, ii, _("Announce:"), sb->trackerAnnounce);
    582582  INFOLINEA(table, ii, _("Piece Size:"), readablesize(in->pieceSize));
    583583  INFOLINEF(table, ii, "%i", _("Pieces:"), in->pieceCount);
Note: See TracChangeset for help on using the changeset viewer.