diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-09-11 23:14:54 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-09-11 23:14:54 +0200 |
commit | eadeb9f2a13577d6cd532b2a1bd306710136322a (patch) | |
tree | c8317cc0eb0ca7a9e017d92d9f7472e0966f92c0 /src/mirror | |
parent | 37de0cc7b0eeeefcc25173913faaefa2a7673d2c (diff) | |
download | OFQT-eadeb9f2a13577d6cd532b2a1bd306710136322a.tar.gz OFQT-eadeb9f2a13577d6cd532b2a1bd306710136322a.zip |
move over to official cmake packages, fix data race in qt frontend
Diffstat (limited to 'src/mirror')
-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: |