summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_wkssvc.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 00:57:59 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 00:57:59 +0000
commit66a827c921565ed8cb201228c335fca1d0d7b5e9 (patch)
tree17586a756b4d970497f9361cb2d8564ef5c130b2 /source4/librpc/ndr/ndr_wkssvc.c
parentfd15fc58e7b4dbe0d4eda81f979c8de97e9ac7ee (diff)
downloadsamba-66a827c921565ed8cb201228c335fca1d0d7b5e9.tar.gz
samba-66a827c921565ed8cb201228c335fca1d0d7b5e9.tar.bz2
samba-66a827c921565ed8cb201228c335fca1d0d7b5e9.zip
* changed to midl syntax using [case(x)] instead of case(x)
* use empty defaults instead of a dummy empty structure (This used to be commit 555a340d3c0697b147799bc0a6615e01e196daf6)
Diffstat (limited to 'source4/librpc/ndr/ndr_wkssvc.c')
-rw-r--r--source4/librpc/ndr/ndr_wkssvc.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/source4/librpc/ndr/ndr_wkssvc.c b/source4/librpc/ndr/ndr_wkssvc.c
index 40006a5982..d6b1558d4c 100644
--- a/source4/librpc/ndr/ndr_wkssvc.c
+++ b/source4/librpc/ndr/ndr_wkssvc.c
@@ -88,7 +88,8 @@ NTSTATUS ndr_push_wkssvc_TransportInfo(struct ndr_push *ndr, int ndr_flags, uint
break;
default:
- return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
+ break;
+
}
ndr_push_struct_end(ndr);
buffers:
@@ -101,7 +102,8 @@ buffers:
break;
default:
- return ndr_push_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
+ break;
+
}
done:
return NT_STATUS_OK;
@@ -653,8 +655,9 @@ NTSTATUS ndr_pull_wkssvc_TransportInfo(struct ndr_pull *ndr, int ndr_flags, uint
}
break; }
- default:
- return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
+ default: {
+ break; }
+
}
ndr_pull_struct_end(ndr);
buffers:
@@ -667,7 +670,8 @@ buffers:
break;
default:
- return ndr_pull_error(ndr, NDR_ERR_BAD_SWITCH, "Bad switch value %u", level);
+ break;
+
}
done:
return NT_STATUS_OK;
@@ -1187,7 +1191,8 @@ void ndr_print_wkssvc_TransportInfo(struct ndr_print *ndr, const char *name, uin
break;
default:
- ndr_print_bad_level(ndr, name, level);
+ break;
+
}
}