X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fclient.c;h=bf3082176c446c6258d6209b4acfdfba27fd1bcd;hb=1104a3d449ca71696d000ac4d9c253ecf66ba3e6;hp=6cbcb6220ba070eee7c0ab5bd5a167ecc84cbb79;hpb=89fa8d46a881c88811eb3fb8d9940496987a7cb0;p=doldaconnect.git diff --git a/daemon/client.c b/daemon/client.c index 6cbcb62..bf30821 100644 --- a/daemon/client.c +++ b/daemon/client.c @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -528,13 +528,14 @@ static int hashfile(char *path) */ static void checkhashes(void) { - struct sharecache *node; + struct sharecache *node, *next; struct hashcache *hc; char *path; node = shareroot->child; - for(node = shareroot->child; node != NULL; node = nextscnode(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)