Imported Upstream version 4.0.0+dfsg1
[abartlet/samba-debian.git] / source3 / autoconf / librpc / gen_ndr / srv_w32time.c
similarity index 97%
rename from source3/librpc/gen_ndr/srv_w32time.c
rename to source3/autoconf/librpc/gen_ndr/srv_w32time.c
index b1793bf768113def84ae5f50c3f68fdcb46c7a99..fc02d4dcf98bf6a90181b6e25215396c586a2d22 100644 (file)
@@ -5,7 +5,7 @@
 
 #include "includes.h"
 #include "ntdomain.h"
-#include "librpc/gen_ndr/srv_w32time.h"
+#include "autoconf/librpc/gen_ndr/srv_w32time.h"
 
 static bool api_w32time_SyncTime(struct pipes_struct *p)
 {
@@ -44,7 +44,7 @@ static bool api_w32time_SyncTime(struct pipes_struct *p)
 
        r->out.result = _w32time_SyncTime(p, r);
 
-       if (p->rng_fault_state) {
+       if (p->fault_state) {
                talloc_free(r);
                /* Return true here, srv_pipe_hnd.c will take care */
                return true;
@@ -117,7 +117,7 @@ static bool api_w32time_GetNetLogonServiceBits(struct pipes_struct *p)
 
        r->out.result = _w32time_GetNetLogonServiceBits(p, r);
 
-       if (p->rng_fault_state) {
+       if (p->fault_state) {
                talloc_free(r);
                /* Return true here, srv_pipe_hnd.c will take care */
                return true;
@@ -190,7 +190,7 @@ static bool api_w32time_QueryProviderStatus(struct pipes_struct *p)
 
        r->out.result = _w32time_QueryProviderStatus(p, r);
 
-       if (p->rng_fault_state) {
+       if (p->fault_state) {
                talloc_free(r);
                /* Return true here, srv_pipe_hnd.c will take care */
                return true;