fix missing return statement in importing attributes
authorLuke Howard <lukeh@padl.com>
Sat, 26 Mar 2011 15:17:39 +0000 (02:17 +1100)
committerLuke Howard <lukeh@padl.com>
Sat, 26 Mar 2011 15:17:39 +0000 (02:17 +1100)
util_attr.cpp

index 41a2736..2b4d7c4 100644 (file)
@@ -333,6 +333,9 @@ gss_eap_attr_ctx::initFromBuffer(const gss_buffer_t buffer)
         didInit[type] = true;
     }
 
+    if (ret == false)
+        return ret;
+
     /*
      * The call the initFromGssContext methods for attribute
      * providers that can initialize themselves from other