repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9180287
)
Make sure cookie is initialized before we use it.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 13 Jan 2014 14:36:38 +0000
(06:36 -0800)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 13 Jan 2014 14:36:38 +0000
(06:36 -0800)
lib/libnfs.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index 61837196bb1ff28bd4ead9cd44c71a8636943744..b19a373bc2ba05d557342ecbf3887a974a7156c7 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-2465,7
+2465,7
@@
static void nfs_opendir2_cb(struct rpc_context *rpc, int status, void *command_d
struct nfsdir *nfsdir = data->continue_data;
struct nfsdirent *nfsdirent;
struct entry3 *entry;
- uint64_t cookie;
+ uint64_t cookie
= 0
;
struct rdpe_cb_data *rdpe_cb_data;
assert(rpc->magic == RPC_CONTEXT_MAGIC);
@@
-2593,7
+2593,7
@@
static void nfs_opendir_cb(struct rpc_context *rpc, int status, void *command_da
struct nfs_context *nfs = data->nfs;
struct nfsdir *nfsdir = data->continue_data;
struct entryplus3 *entry;
- uint64_t cookie;
+ uint64_t cookie
= 0
;
assert(rpc->magic == RPC_CONTEXT_MAGIC);