diff src/proxy.c @ 9655:00f96f4cc775

[gaim-migrate @ 10503] some whitespace fixes for Mark committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 03 Aug 2004 23:42:32 +0000
parents 5332ebbf437b
children 2ea77e275b85
line wrap: on
line diff
--- a/src/proxy.c	Tue Aug 03 23:27:58 2004 +0000
+++ b/src/proxy.c	Tue Aug 03 23:42:32 2004 +0000
@@ -267,7 +267,7 @@
 		kill(req->dns_pid, SIGKILL);
 		return -1;
 	}
-	
+
 	gaim_debug(GAIM_DEBUG_INFO, "dns",
 			   "Successfully sent DNS request to child %d\n", req->dns_pid);
 	return 0;
@@ -303,7 +303,7 @@
 			req->inpa = gaim_input_add(req->fd_out, GAIM_INPUT_READ, host_resolved, req);
 			g_free(r);
 		}
-		
+
 	} else {
 		req->host = NULL;
 		req->callback = NULL;
@@ -421,10 +421,10 @@
 {
 	pending_dns_request_t *req = NULL;
 	dns_params_t dns_params;
-        
-        char *host_temp = g_strdup(hostname);
+
+	char *host_temp = g_strdup(hostname);
 	strncpy(dns_params.hostname, g_strstrip(host_temp), sizeof(dns_params.hostname)-1);
-        g_free(host_temp);
+	g_free(host_temp);
 	dns_params.hostname[sizeof(dns_params.hostname)-1] = '\0';
 	dns_params.port = port;
 
@@ -469,9 +469,9 @@
 
 		/* We need to create a new child. */
 		req = g_new(pending_dns_request_t,1);
-		
+
 		cope_with_gdb_brokenness();
-	
+
 		req->dns_pid=fork();
 		if(req->dns_pid==0) {
 			const int zero = 0;
@@ -530,7 +530,7 @@
 #if HAVE_GETADDRINFO
 				g_snprintf(servname, sizeof(servname), "%d", dns_params.port);
 				memset(&hints,0,sizeof(hints));
-				
+
 				/* This is only used to convert a service
 				 * name to a port number. As we know we are
 				 * passing a number already, we know this
@@ -939,7 +939,7 @@
 		if ((errno == EINPROGRESS) || (errno == EINTR)) {
 			gaim_debug(GAIM_DEBUG_WARNING, "http proxy",
 					   "Connect would have blocked.\n");
-			
+
 			if (phb->port != 80) {
 				/* we need to do CONNECT first */
 				phb->inpa = gaim_input_add(fd, GAIM_INPUT_WRITE,