git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c7060
)
mdssvc: Move a variable declaration closer to its use
author
Volker Lendecke
<vl@samba.org>
Fri, 3 Aug 2018 10:44:31 +0000
(12:44 +0200)
committer
Volker Lendecke
<vl@samba.org>
Fri, 14 Sep 2018 05:49:14 +0000
(07:49 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/rpc_server/mdssvc/marshalling.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/mdssvc/marshalling.c
b/source3/rpc_server/mdssvc/marshalling.c
index 562afa6c9740434a5f48bfaf4dc25e2003cc1fa7..af059545759705075c0b8c7fda0534a603c8d139 100644
(file)
--- a/
source3/rpc_server/mdssvc/marshalling.c
+++ b/
source3/rpc_server/mdssvc/marshalling.c
@@
-1058,9
+1058,10
@@
static ssize_t sl_unpack_loop(DALLOC_CTX *query,
int i, toc_index, subcount;
uint64_t result;
sl_nil_t nil;
- struct sl_tag tag;
while (count > 0) {
+ struct sl_tag tag;
+
if (offset >= toc_offset) {
return -1;
}