werror: replace WERR_DFS_INTERNAL_ERROR with WERR_NERR_DFSINTERNALERROR in source3...
[metze/samba/wip.git] / 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) {