git.samba.org
/
jelmer
/
openchange-proposed.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
377ba3e
)
Patch from Shaheed Haque <srhaque@theiet.org>:
author
Julien Kerihuel
<j.kerihuel@openchange.org>
Tue, 6 Mar 2012 11:58:22 +0000
(11:58 +0000)
committer
Julien Kerihuel
<j.kerihuel@openchange.org>
Tue, 6 Mar 2012 11:58:22 +0000
(11:58 +0000)
nspi_SeekEntries does not update the stored value
libmapi/nspi.c
patch
|
blob
|
history
diff --git
a/libmapi/nspi.c
b/libmapi/nspi.c
index feef9035514674ec4dfa1875f1b7d9a50765a7a1..d9b63ae352844f5c293638ce0a77ddff025be6ea 100644
(file)
--- a/
libmapi/nspi.c
+++ b/
libmapi/nspi.c
@@
-379,6
+379,11
@@
_PUBLIC_ enum MAPISTATUS nspi_SeekEntries(struct nspi_context *nspi_ctx,
OPENCHANGE_RETVAL_IF(!NT_STATUS_IS_OK(status), retval, pStat);
OPENCHANGE_RETVAL_IF(retval, retval, pStat);
+ nspi_ctx->pStat->CurrentRec = r.out.pStat->CurrentRec;
+ nspi_ctx->pStat->Delta = r.out.pStat->Delta;
+ nspi_ctx->pStat->NumPos = r.out.pStat->NumPos;
+ nspi_ctx->pStat->TotalRecs = r.out.pStat->TotalRecs;
+
return MAPI_E_SUCCESS;
}