diff src/remote.c @ 442:4b2d7f9af171

Big whitespaces cleanup: - drop whitespaces at end of lines - convert eight spaces to tab at start of lines - drop spurious spaces mixed with tabs - remove empty lines at end of files
author zas_
date Sun, 20 Apr 2008 13:04:57 +0000
parents 7997b6704fdb
children ddabc4873a3f
line wrap: on
line diff
--- a/src/remote.c	Sun Apr 20 10:05:27 2008 +0000
+++ b/src/remote.c	Sun Apr 20 13:04:57 2008 +0000
@@ -254,11 +254,11 @@
 	sun_path_len = MIN(strlen(path) + 1, UNIX_PATH_MAX);
 	strncpy(addr.sun_path, path, sun_path_len);
 	if (connect(fd, &addr, sizeof(addr)) == -1)
-        	{
+		{
 		if (debug) printf("error connecting to socket: %s\n", strerror(errno));
-	        close(fd);
-        	return NULL;
-	        }
+		close(fd);
+		return NULL;
+		}
 
 	rc = g_new0(RemoteConnection, 1);
 	rc->server = FALSE;
@@ -266,7 +266,7 @@
 	rc->path = g_strdup(path);
 
 	/* this might fix the freezes on freebsd, solaris, etc. - completely untested */
-	remote_client_send(rc, "\n"); 
+	remote_client_send(rc, "\n");
 
 	return rc;
 }