qulogic/pidgin

It's even better when code compiles. Remove references to disconnection
cpw.resiak.disconnectreason
2007-09-17, Will Thompson
224a7b02823e
Parents 49979e453876
Children 786f26a8dc6f
It's even better when code compiles. Remove references to disconnection
reasons that I removed.
--- a/libpurple/connection.c Mon Sep 17 15:30:51 2007 +0000
+++ b/libpurple/connection.c Mon Sep 17 16:52:38 2007 +0000
@@ -504,7 +504,7 @@
description = _("Unknown error");
}
- g_assert (reason >= 0 && reason < PURPLE_NUM_REASONS);
+ g_assert (reason < PURPLE_NUM_REASONS);
/* If we've already got one error, we don't need any more */
if (gc->disconnect_timeout)
@@ -529,10 +529,8 @@
{
switch (reason)
{
- case PURPLE_REASON_NONE_SPECIFIED:
case PURPLE_REASON_NETWORK_ERROR:
return FALSE;
- case PURPLE_REASON_REQUESTED:
case PURPLE_REASON_AUTHENTICATION_FAILED:
case PURPLE_REASON_ENCRYPTION_ERROR:
case PURPLE_REASON_NAME_IN_USE: