]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Another typo...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 5 Nov 2019 20:36:44 +0000 (14:36 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 5 Nov 2019 20:36:44 +0000 (14:36 -0600)
src/lib/util/dict_unknown.c

index 00f56b3b192ecfae2c340afc50609913813dde32..e1c1d5fe3f451818bbf8904a999cb447ca61d10f 100644 (file)
@@ -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);