projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4712deb
)
[UMPNPMGR] Fix remaining length calculation
author
Mark Jansen
<mark.jansen@reactos.org>
Fri, 2 Apr 2021 23:43:48 +0000
(
01:43
+0200)
committer
Mark Jansen
<mark.jansen@reactos.org>
Fri, 2 Apr 2021 23:43:48 +0000
(
01:43
+0200)
base/services/umpnpmgr/rpcserver.c
patch
|
blob
|
history
diff --git
a/base/services/umpnpmgr/rpcserver.c
b/base/services/umpnpmgr/rpcserver.c
index
cf49713
..
cba8968
100644
(file)
--- a/
base/services/umpnpmgr/rpcserver.c
+++ b/
base/services/umpnpmgr/rpcserver.c
@@
-1153,7
+1153,7
@@
GetEnumeratorInstanceList(
break;
dwUsedLength += dwPathLength - 1;
- dwRemainingLength
+
= dwPathLength - 1;
+ dwRemainingLength
-
= dwPathLength - 1;
pPtr += dwPathLength - 1;
}
@@
-1203,7
+1203,7
@@
GetAllInstanceList(
break;
dwUsedLength += dwPathLength - 1;
- dwRemainingLength
+
= dwPathLength - 1;
+ dwRemainingLength
-
= dwPathLength - 1;
pPtr += dwPathLength - 1;
}