Ignore:
Timestamp:
11/14/09 21:40:51 (3 years ago)
Author:
eagle
Message:

onion domain fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/garlicat/src/ocatsocks.c

    r525 r527  
    4242 
    4343   ipv6tonion(&sq->addr, onion); 
    44    strlcat(onion, ".onion", sizeof(onion)); 
     44   strlcat(onion, NDESC(domain), sizeof(onion)); 
    4545   log_msg(LOG_INFO, "trying to connect to \"%s\" [%s]", onion, inet_ntop(AF_INET6, &sq->addr, buf, SOCKS_BUFLEN)); 
    4646 
     
    258258      } 
    259259 
    260       snprintf(buf, SIZE_1K, "%d: %39s, %s.onion, state = %d, %s(%d), retry = %d, connect_time = %d, restart_time = %d", 
     260      snprintf(buf, SIZE_1K, "%d: %39s, %s%s, state = %d, %s(%d), retry = %d, connect_time = %d, restart_time = %d", 
    261261            i,  
    262262            addrstr,  
    263263            ipv6tonion(&squeue->addr, onstr), 
     264            NDESC(domain), 
    264265            squeue->state, 
    265266            squeue->perm ? "PERMANENT" : "TEMPORARY", 
Note: See TracChangeset for help on using the changeset viewer.