diff options
author | Nick White <git@njw.me.uk> | 2012-07-13 20:03:23 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2012-07-13 20:03:23 +0100 |
commit | 6541ca4799cc19a412722615fa3dfce3a16109c9 (patch) | |
tree | 7a14731e3b3bad2dc4f580639a5988853f63ca90 /getabook.c | |
parent | 212213c11531456ab1b4f270e4a5cd9cecba74f6 (diff) |
Regularise function style
Diffstat (limited to 'getabook.c')
-rw-r--r-- | getabook.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |