diff options
Diffstat (limited to 'src/mirror/main.c')
-rw-r--r-- | src/mirror/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mirror/main.c b/src/mirror/main.c index 51ce98a..89a085d 100644 --- a/src/mirror/main.c +++ b/src/mirror/main.c @@ -152,14 +152,9 @@ int main(int argc, char** argv) free(thread_info); } - char* buf = malloc(rev_len+1); - sprintf(buf, "%i", latest_rev); sprintf(revisions_dir_end, "%slatest", OS_PATH_SEP); - setLocalRevision(output_dir, latest_rev); symlink(".." OS_PATH_SEP TOAST_LOCAL_REVISION_PATH, revisions_dir); - - free(buf); free(revisions_dir); cleanup: |