diff --git a/gio/gsocks5proxy.c b/gio/gsocks5proxy.c index d093c81a9..764f9cf19 100644 --- a/gio/gsocks5proxy.c +++ b/gio/gsocks5proxy.c @@ -205,7 +205,7 @@ set_auth_msg (guint8 *msg, g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_PROXY_FAILED, _("Username or password is too long for SOCKSv5 " "protocol.")); - return FALSE; + return -1; } msg[len++] = SOCKS5_AUTH_VERSION;