about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--btpd/http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/btpd/http.h b/btpd/http.h
index 8edaac4..9f03614 100644
--- a/btpd/http.h
+++ b/btpd/http.h
@@ -17,6 +17,7 @@ struct http_res {
     size_t length;
 };
 
+__attribute__((format (printf, 4, 5)))
 int http_get(struct http **ret,
     void (*cb)(struct http *, struct http_res *, void *),
     void *arg,