From: Luke Howard Date: Sat, 26 Mar 2011 15:17:39 +0000 (+1100) Subject: fix missing return statement in importing attributes X-Git-Tag: tr-beta1~273 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=commitdiff_plain;h=655708c347e689ef986e2fe3da4d1932d7684196 fix missing return statement in importing attributes --- diff --git a/mech_eap/util_attr.cpp b/mech_eap/util_attr.cpp index 41a2736..2b4d7c4 100644 --- a/mech_eap/util_attr.cpp +++ b/mech_eap/util_attr.cpp @@ -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