Mercurial > pidgin.yaz
comparison libpurple/protocols/irc/irc.c @ 20113:1cbda8e2b913
Remove commented-out calls to purple_connection_error.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Tue, 18 Sep 2007 22:04:20 +0000 |
parents | 1b420901ca3b |
children | a61aa7cc757d |
comparison
equal
deleted
inserted
replaced
20112:1b420901ca3b | 20113:1cbda8e2b913 |
---|---|
355 int ret; | 355 int ret; |
356 | 356 |
357 if (pass && *pass) { | 357 if (pass && *pass) { |
358 buf = irc_format(irc, "vv", "PASS", pass); | 358 buf = irc_format(irc, "vv", "PASS", pass); |
359 if (irc_send(irc, buf) < 0) { | 359 if (irc_send(irc, buf) < 0) { |
360 /* purple_connection_error(gc, "Error sending password"); */ | |
361 g_free(buf); | 360 g_free(buf); |
362 return FALSE; | 361 return FALSE; |
363 } | 362 } |
364 g_free(buf); | 363 g_free(buf); |
365 } | 364 } |
387 | 386 |
388 buf = irc_format(irc, "vvvv:", "USER", tmp ? tmp : username, hostname, irc->server, | 387 buf = irc_format(irc, "vvvv:", "USER", tmp ? tmp : username, hostname, irc->server, |
389 strlen(realname) ? realname : IRC_DEFAULT_ALIAS); | 388 strlen(realname) ? realname : IRC_DEFAULT_ALIAS); |
390 g_free(tmp); | 389 g_free(tmp); |
391 if (irc_send(irc, buf) < 0) { | 390 if (irc_send(irc, buf) < 0) { |
392 /* purple_connection_error(gc, "Error registering with server");*/ | |
393 g_free(buf); | 391 g_free(buf); |
394 return FALSE; | 392 return FALSE; |
395 } | 393 } |
396 g_free(buf); | 394 g_free(buf); |
397 buf = irc_format(irc, "vn", "NICK", purple_connection_get_display_name(gc)); | 395 buf = irc_format(irc, "vn", "NICK", purple_connection_get_display_name(gc)); |
398 if (irc_send(irc, buf) < 0) { | 396 if (irc_send(irc, buf) < 0) { |
399 /* purple_connection_error(gc, "Error sending nickname");*/ | |
400 g_free(buf); | 397 g_free(buf); |
401 return FALSE; | 398 return FALSE; |
402 } | 399 } |
403 g_free(buf); | 400 g_free(buf); |
404 | 401 |