Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added bbtree functions.
[doldaconnect.git]
/
daemon
/
client.c
diff --git
a/daemon/client.c
b/daemon/client.c
index
63e40b2
..
bf30821
100644
(file)
--- a/
daemon/client.c
+++ b/
daemon/client.c
@@
-528,13
+528,14
@@
static int hashfile(char *path)
*/
static void checkhashes(void)
{
*/
static void checkhashes(void)
{
- struct sharecache *node;
+ struct sharecache *node
, *next
;
struct hashcache *hc;
char *path;
node = shareroot->child;
struct hashcache *hc;
char *path;
node = shareroot->child;
- for(node = shareroot->child; node != NULL; node = next
scnode(node)
)
+ for(node = shareroot->child; node != NULL; node = next)
{
{
+ next = nextscnode(node);
if(node->f.b.type != FILE_REG)
continue;
if(!node->f.b.hastth)
if(node->f.b.type != FILE_REG)
continue;
if(!node->f.b.hastth)