summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rw-r--r--config.mk8
-rw-r--r--getgbook.c2
3 files changed, 5 insertions, 7 deletions
diff --git a/TODO b/TODO
index 082526d..d8e96a6 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-order is prob available even for pages that don't have src. check this, and if so rewrite getpagedetails to set it even if no src (rather than just bailing)
+order is available even for pages that don't have src. check this, and if so rewrite getpagedetails to set it even if no src (rather than just bailing)
use order to be able to use real page numbers (getpagecode)
to find this advance through click3 letter by letter until either } (none found) or strcmp "order"
diff --git a/config.mk b/config.mk
index 5b1224c..145c96d 100644
--- a/config.mk
+++ b/config.mk
@@ -8,11 +8,11 @@ CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \
-DVERSION=\"$(VERSION)\"
# musl static
-CC = musl-gcc
-LDFLAGS = -static #-s
+#CC = musl-gcc
+#LDFLAGS = -static #-s
# glibc dynamic
-#CC = cc
-#LDFLAGS =
+CC = cc
+LDFLAGS =
LD = ld
diff --git a/getgbook.c b/getgbook.c
index d11761d..2b999c2 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -139,7 +139,5 @@ int main(int argc, char *argv[])
}
}
- free(bookid);
-
return EXIT_SUCCESS;
}