Procházet zdrojové kódy

Enable printf format type checking.

master
Richard Nyberg před 18 roky
rodič
revize
0c9cc2aa1d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. +1
    -0
      btpd/http.h

+ 1
- 0
btpd/http.h Zobrazit soubor

@@ -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,


Načítá se…
Zrušit
Uložit