diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-04-11 17:04:21 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-04-12 01:50:39 +0300 |
commit | 9f92d586ca537ed093a1d68eacf94315da68a8ad (patch) | |
tree | e24f37bfce93ee914190555e8d28c4f77e0fc624 /source4/libnet/libnet_become_dc.c | |
parent | 8e95db9eea8bfd6ec12a894d0d46705a3c414e4e (diff) | |
download | samba-9f92d586ca537ed093a1d68eacf94315da68a8ad.tar.gz samba-9f92d586ca537ed093a1d68eacf94315da68a8ad.tar.xz samba-9f92d586ca537ed093a1d68eacf94315da68a8ad.zip |
s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected
Actually DRSUAPI_DIRERR_OK is not valid error to be returned.
I introduce it in the IDL so that I can use it in enum.
So it should be dumped as Unexpected error code
Diffstat (limited to 'source4/libnet/libnet_become_dc.c')
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index 1c0bfbcd3c..ffcf29c3cb 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -2315,8 +2315,6 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) /* dump more detailed error */ switch (err_data->v1.dir_err) { - case DRSUAPI_DIRERR_OK: /* mute compiler warnings */ - break; case DRSUAPI_DIRERR_ATTRIBUTE: /* Dump attribute errors */ attr_err = &err_data->v1.info->attr_err; @@ -2390,6 +2388,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) win_errstr(err_data->v1.info->system_err.extended_err), err_data->v1.info->system_err.problem)); break; + case DRSUAPI_DIRERR_OK: /* mute compiler warnings */ default: DEBUGADD(0,(" Unknown DIRERR error class returned!")); break; |