소스 검색

Enable printf format type checking.

master
Richard Nyberg 18 년 전
부모
커밋
0c9cc2aa1d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      btpd/http.h

+ 1
- 0
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,


불러오는 중...
취소
저장