mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 17:56:47 +00:00
fixed segfault bug in rhizome fetch.
(serval-node/import directory needs to exist to fetch files, maybe the code should just make the directory if not present)
This commit is contained in:
parent
c448eab720
commit
cd65e47be1
@ -370,9 +370,10 @@ int rhizome_queue_manifest_import(rhizome_manifest *m,
|
||||
if (debug&DEBUG_RHIZOME)
|
||||
fprintf(stderr,"Could not open '%s' to write received file.\n",
|
||||
filename);
|
||||
} else {
|
||||
rhizome_file_fetch_queue_count++;
|
||||
if (debug&DEBUG_RHIZOME) fprintf(stderr,"Queued file for fetching\n");
|
||||
}
|
||||
rhizome_file_fetch_queue_count++;
|
||||
if (debug&DEBUG_RHIZOME) fprintf(stderr,"Queued file for fetching\n");
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user