diff options
-rw-r--r-- | sfeed_gph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfeed_gph.c b/sfeed_gph.c index 94a99d3..9993100 100644 --- a/sfeed_gph.c +++ b/sfeed_gph.c @@ -138,8 +138,8 @@ main(int argc, char *argv[]) /* append directory item to index */ fprintf(fpindex, "[1|"); gphlink(fpindex, name, strlen(name)); - fprintf(fpindex, " (%lu/%lu)|%s", - f.totalnew, f.total, prefixpath); + fprintf(fpindex, " (%lu/%lu)|", f.totalnew, f.total); + gphlink(fpindex, prefixpath, strlen(prefixpath)); gphlink(fpindex, path, strlen(path)); fputs("|server|port]\n", fpindex); } |