werror: replace WERR_DFS_INTERNAL_ERROR with WERR_NERR_DFSINTERNALERROR in source3...
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:38 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:30 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_server/dfs/srv_dfs_nt.c

index 81940a9f16a43f81f6c37359266b7165be9e1a49..fbe6c0d832f7e17347c3c2a349b4ffaa30b2f54e 100644 (file)
@@ -92,7 +92,7 @@ WERROR _dfs_Add(struct pipes_struct *p, struct dfs_Add *r)
        jn->referral_list = talloc_array(ctx, struct referral, jn->referral_count);
        if(jn->referral_list == NULL) {
                DEBUG(0,("init_reply_dfs_add: talloc failed for referral list!\n"));
-               return WERR_DFS_INTERNAL_ERROR;
+               return WERR_NERR_DFSINTERNALERROR;
        }
 
        if(old_referral_list && jn->referral_list) {