# HG changeset patch # User Ethan Blanton # Date 1188861774 0 # Node ID 793973fedd023ffe889ee466030746f42f95eb5d # Parent cab5dd8da484a0a45e6b022d373d1d3de4c1086e Whitespace fix diff -r cab5dd8da484 -r 793973fedd02 libpurple/protocols/irc/irc.c --- 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", "");