summaryrefslogtreecommitdiff
path: root/getgbook.c
diff options
context:
space:
mode:
Diffstat (limited to 'getgbook.c')
-rw-r--r--getgbook.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/getgbook.c b/getgbook.c
index 98e1b0b..6f6870f 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -45,9 +45,8 @@ char *getgbookid(char *isbn)
int main(int argc, char *argv[])
{
- int i, s;
- char *bookid, url[80], isbn[16];
- char *curpage;
+ int i;
+ char *bookid, isbn[16];
FILE *srv;
if(argc != 2)
@@ -58,9 +57,7 @@ int main(int argc, char *argv[])
i = dial(hostname, "80");
srv = fdopen(i, "r+");
- /* get google book id */
bookid = getgbookid(isbn);
-
printf("bookid is %s\n", bookid);
free(bookid);