[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r8485: whitespace cleanups (tor/trunk/src/or)



Author: arma
Date: 2006-09-24 16:54:59 -0400 (Sun, 24 Sep 2006)
New Revision: 8485

Modified:
   tor/trunk/src/or/dns.c
Log:
whitespace cleanups


Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2006-09-24 19:25:29 UTC (rev 8484)
+++ tor/trunk/src/or/dns.c	2006-09-24 20:54:59 UTC (rev 8485)
@@ -114,7 +114,7 @@
                              uint32_t addr, const char *hostname, char outcome,
                              uint32_t ttl);
 static void send_resolved_cell(edge_connection_t *conn, or_circuit_t *circ,
-			       uint8_t answer_type);
+                               uint8_t answer_type);
 static int launch_resolve(edge_connection_t *exitconn, or_circuit_t *circ);
 #ifndef USE_EVENTDNS
 static void dnsworkers_rotate(void);
@@ -394,7 +394,7 @@
  */
 static void
 send_resolved_cell(edge_connection_t *conn, or_circuit_t *circ,
-		   uint8_t answer_type)
+                   uint8_t answer_type)
 {
   char buf[RELAY_PAYLOAD_SIZE];
   size_t buflen;
@@ -428,7 +428,7 @@
       return;
     }
   // log_notice(LD_EXIT, "Sending a regular RESOLVED reply: ");
-  
+
   if (!circ) {
     circuit_t *tmp = circuit_get_by_edge_conn(conn);
     if (! CIRCUIT_IS_ORIGIN(tmp))
@@ -450,7 +450,7 @@
  */
 static void
 send_resolved_hostname_cell(edge_connection_t *conn, or_circuit_t *circ,
-			    const char *hostname)
+                            const char *hostname)
 {
   char buf[RELAY_PAYLOAD_SIZE];
   size_t buflen;
@@ -604,7 +604,7 @@
       return -1;
     }
     //log_notice(LD_EXIT, "Looks like an address %s",
-    //	exitconn->_base.address);
+    //exitconn->_base.address);
   }
 
   /* now check the hash table to see if 'address' is already there. */
@@ -632,7 +632,7 @@
         if (resolve->is_reverse) {
           tor_assert(is_resolve);
           send_resolved_hostname_cell(exitconn, oncirc,
-				      resolve->result.hostname);
+                                      resolve->result.hostname);
         } else {
           exitconn->_base.addr = resolve->result.addr;
           if (is_resolve)
@@ -643,7 +643,7 @@
         log_debug(LD_EXIT,"Connection (fd %d) found cached error for %s",
                   exitconn->_base.s,
                   escaped_safe_str(exitconn->_base.address));
-	/*  XXXX send back indication of failure for connect case? -NM*/
+        /*  XXXX send back indication of failure for connect case? -NM*/
         if (is_resolve)
           send_resolved_cell(exitconn, oncirc, RESOLVED_TYPE_ERROR);
         circ = circuit_get_by_edge_conn(exitconn);