From: Arran Cudbard-Bell Date: Tue, 5 Nov 2019 20:36:44 +0000 (-0600) Subject: Another typo... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81222b5bfdd734d98c8deac0057be2706648758;p=thirdparty%2Ffreeradius-server.git Another typo... --- diff --git a/src/lib/util/dict_unknown.c b/src/lib/util/dict_unknown.c index 00f56b3b192..e1c1d5fe3f4 100644 --- a/src/lib/util/dict_unknown.c +++ b/src/lib/util/dict_unknown.c @@ -85,7 +85,7 @@ fr_dict_attr_t const *fr_dict_unknown_add(fr_dict_t *dict, fr_dict_attr_t const if (unlikely(dict->read_only)) { fr_strerror_printf("%s dictionary has been marked as read only", fr_dict_root(dict)->name); - return -1; + return NULL; } da = fr_dict_attr_by_name(dict, old->name);