diff libpurple/protocols/irc/irc.c @ 19622:793973fedd02

Whitespace fix
author Ethan Blanton <elb@pidgin.im>
date Mon, 03 Sep 2007 23:22:54 +0000
parents cab5dd8da484
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.c	Mon Sep 03 23:15:11 2007 +0000
+++ b/libpurple/protocols/irc/irc.c	Mon Sep 03 23:22:54 2007 +0000
@@ -347,7 +347,7 @@
 	const char *username, *realname;
 	struct irc_conn *irc = gc->proto_data;
 	const char *pass = purple_connection_get_password(gc);
-        int ret;
+	int ret;
 
 	if (pass && *pass) {
 		buf = irc_format(irc, "vv", "PASS", pass);
@@ -362,10 +362,10 @@
 
 	ret = gethostname(hostname, sizeof(hostname));
 	hostname[sizeof(hostname) - 1] = '\0';
-        if (ret < 0 || hostname[0] == '\0') {
-        	purple_debug_warning("irc", "gethostname() failed -- is your hostname set?");
-        	strcpy(hostname, "localhost");
-        }
+	if (ret < 0 || hostname[0] == '\0') {
+		purple_debug_warning("irc", "gethostname() failed -- is your hostname set?");
+		strcpy(hostname, "localhost");
+	}
 	realname = purple_account_get_string(irc->account, "realname", "");
 	username = purple_account_get_string(irc->account, "username", "");