summaryrefslogtreecommitdiff
path: root/getabook.c
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-07-13 20:03:23 +0100
committerNick White <git@njw.me.uk>2012-07-13 20:03:23 +0100
commit6541ca4799cc19a412722615fa3dfce3a16109c9 (patch)
tree7a14731e3b3bad2dc4f580639a5988853f63ca90 /getabook.c
parent212213c11531456ab1b4f270e4a5cd9cecba74f6 (diff)
Regularise function style
Diffstat (limited to 'getabook.c')
-rw-r--r--getabook.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/getabook.c b/getabook.c
index f59c61f..3b88289 100644
--- a/getabook.c
+++ b/getabook.c
@@ -29,7 +29,8 @@ int numpages;
char bookid[STRMAX];
char *bookdir;
-int fillurls(char *buf) {
+int fillurls(char *buf)
+{
char m[STRMAX];
char *c, *s;
int i;
@@ -122,7 +123,8 @@ int getpagelist()
return 0;
}
-int getpageurls(int pagenum) {
+int getpageurls(int pagenum)
+{
char url[URLMAX];
char query[URLMAX];
char *buf = NULL;