[gnome-online-accounts/wip/rishi/kerberos-handle-information-only-prompts: 1/2] kerberos-identity: Suffle some code around
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/kerberos-handle-information-only-prompts: 1/2] kerberos-identity: Suffle some code around
- Date: Mon, 12 Oct 2020 14:42:44 +0000 (UTC)
commit 467b1ef17f3cb767e6bc8f2b606da6b0128af33f
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Oct 12 15:58:36 2020 +0200
kerberos-identity: Suffle some code around
This will make the subsequent commit easier to read.
https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/92
src/goaidentity/goakerberosidentity.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/goaidentity/goakerberosidentity.c b/src/goaidentity/goakerberosidentity.c
index 5398885b..3272201b 100644
--- a/src/goaidentity/goakerberosidentity.c
+++ b/src/goaidentity/goakerberosidentity.c
@@ -1046,7 +1046,7 @@ on_kerberos_inquiry (krb5_context kerberos_context,
krb5_prompt prompts[])
{
GoaIdentityInquiry *inquiry;
- krb5_error_code error_code;
+ krb5_error_code error_code = 0;
inquiry = goa_kerberos_identity_inquiry_new (operation->identity,
name,
@@ -1065,8 +1065,6 @@ on_kerberos_inquiry (krb5_context kerberos_context,
if (g_cancellable_is_cancelled (operation->cancellable))
error_code = KRB5_LIBOS_PWDINTR;
- else
- error_code = 0;
g_object_unref (inquiry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]