[CalendarServer-changes] [14629] PyKerberos/trunk/src/kerberosgss.c

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 26 18:08:57 PDT 2015


Revision: 14629
          http://trac.calendarserver.org//changeset/14629
Author:   wsanchez at apple.com
Date:     2015-03-26 18:08:57 -0700 (Thu, 26 Mar 2015)
Log Message:
-----------
Syntax error.

Modified Paths:
--------------
    PyKerberos/trunk/src/kerberosgss.c

Modified: PyKerberos/trunk/src/kerberosgss.c
===================================================================
--- PyKerberos/trunk/src/kerberosgss.c	2015-03-26 23:17:24 UTC (rev 14628)
+++ PyKerberos/trunk/src/kerberosgss.c	2015-03-27 01:08:57 UTC (rev 14629)
@@ -485,11 +485,10 @@
 
     // Get the name
     maj_stat = gss_inquire_cred(
-        &min_stat, client_creds, &name, NULL, NULL, NULL);
-    }
+        &min_stat, client_creds, &name, NULL, NULL, NULL
+    );
 
-    if (GSS_ERROR(maj_stat))
-    {
+    if (GSS_ERROR(maj_stat)) {
         set_gss_error(maj_stat, min_stat);
         ret = AUTH_GSS_ERROR;
         goto end;
@@ -497,8 +496,7 @@
 
     maj_stat = gss_display_name(&min_stat, name, &name_token, NULL);
 
-    if (GSS_ERROR(maj_stat))
-    {
+    if (GSS_ERROR(maj_stat)) {
         set_gss_error(maj_stat, min_stat);
         ret = AUTH_GSS_ERROR;
         goto end;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150326/d1a76109/attachment.html>


More information about the calendarserver-changes mailing list