From 53439346b3bc42c91a0b118a425ffac04a6f5d33 Mon Sep 17 00:00:00 2001 From: fredrik Date: Thu, 3 Aug 2006 02:04:06 +0000 Subject: [PATCH] Bleh git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/vcfs@681 959494ce-11ee-0310-bf91-de5d638817bd --- store.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/store.c b/store.c index 4d4f14f..4d6497c 100644 --- a/store.c +++ b/store.c @@ -82,17 +82,17 @@ ssize_t storeget(struct store *st, void *buf, size_t len, struct addr *at) struct addr at2; at2 = *at; - sz = cacheget(st, at2, buf, len); + sz = cacheget(st, &at2, buf, len); if(sz != -2) { if(sz == -1) errno = ENOENT; return(sz); } - sz = st->ops->get(st, buf, len, at2); + sz = st->ops->get(st, buf, len, &at2); if((sz < 0) && (errno == ENOENT)) - cacheput(st, at2, NULL, -1); + cacheput(st, &at2, NULL, -1); else if(sz >= 0) - cacheput(st, at2, buf, sz); + cacheput(st, &at2, buf, sz); return(sz); } -- 2.11.0