git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@372
959494ce-11ee-0310-bf91-
de5d638817bd
#include "log.h"
#include "sysevents.h"
#include "filenet.h"
+#include "client.h"
#include "search.h"
#define TOK_STR 0
sr->srch->results = sr->next;
sr->srch->numres--;
}
+ if(sr->hash != NULL)
+ freehash(sr->hash);
if(sr->filename != NULL)
free(sr->filename);
if(sr->peerid != NULL)
new->filename = swcsdup(sr->filename);
if(sr->fn != NULL)
getfnetnode(new->fn = sr->fn);
+ if(sr->hash != NULL)
+ new->hash = duphash(sr->hash);
return(new);
}