Changeset 11359


Ignore:
Timestamp:
Oct 30, 2010, 1:48:45 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #3687 "The V=XXXX key/val pair in our DHT messages seems to have no purpose" -- removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-dht.c

    r11308 r11359  
    5959#include "trevent.h" /* tr_runInEventThread() */
    6060#include "utils.h"
    61 #include "version.h"
    6261
    6362static int dht_socket = -1, dht6_socket = -1;
     
    326325    const uint8_t * raw;
    327326    size_t len, len6;
    328     char v[5];
    329327    struct bootstrap_closure * cl;
    330328
     
    388386    }
    389387
    390     v[0] = 'T';
    391     v[1] = 'R';
    392     v[2] = MAJOR_VERSION;
    393     v[3] = MINOR_VERSION;
    394     rc = dht_init( dht_socket, dht6_socket, myid, (const unsigned char*)v );
    395     if(rc < 0)
     388    rc = dht_init( dht_socket, dht6_socket, myid, NULL );
     389    if( rc < 0 )
    396390        goto fail;
    397391
Note: See TracChangeset for help on using the changeset viewer.