return 0;
}
+ if (internal && !dict_gctx->internal) return -1;
+
/*
* dict_def search in the specified dictionary
*/
* Next in the internal dictionary
*/
if (internal) {
- if (!dict_gctx->internal) goto error;
-
slen = func(&our_err, out, fr_dict_root(dict_gctx->internal), &our_in, tt);
switch (our_err) {
case FR_DICT_ATTR_OK:
error:
/*
* Add a more helpful error message about
- * which dictionaries we tried to locate t
- * he attribute in.
+ * which dictionaries we tried to locate
+ * the attribute in.
*/
if (our_err == FR_DICT_ATTR_NOTFOUND) {
fr_sbuff_marker_t start;