- Timestamp:
- Dec 5, 2010, 7:03:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0x/libtransmission/tr-dht.c
r10623 r11483 50 50 #include "trevent.h" /* tr_runInEventThread() */ 51 51 #include "utils.h" 52 #include "version.h"53 52 54 53 static int dht_socket = -1, dht6_socket = -1; … … 318 317 const uint8_t * raw; 319 318 size_t len, len6; 320 char v[5];321 319 struct bootstrap_closure * cl; 322 320 … … 380 378 } 381 379 382 v[0] = 'T'; 383 v[1] = 'R'; 384 v[2] = (SVN_REVISION_NUM >> 8) & 0xFF; 385 v[3] = SVN_REVISION_NUM & 0xFF; 386 rc = dht_init( dht_socket, dht6_socket, myid, (const unsigned char*)v ); 380 rc = dht_init( dht_socket, dht6_socket, myid, NULL ); 387 381 if(rc < 0) 388 382 goto fail;
Note: See TracChangeset
for help on using the changeset viewer.