fixed filenames returned by flist
[reposerve] / server / src / client.c
index e7f4d3c..1ee31bb 100644 (file)
@@ -137,7 +137,7 @@ static struct flist *gen_flist(int contents)
                        }
                }
                sprintf(pathbuf, "%s/%s", repo_path, repo_file(i)->path);
-               flist_add(flist, pathbuf, contents);
+               flist_add(flist, repo_file(i)->path, pathbuf, contents);
        }
        repo_cleanup();