이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
rinri
/
slstatus
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
braces for one line statements in smprintf()
master
Aaron Marcher
8 년 전
committed by
Aaron Marcher (drkhsh)
부모
bad8dc682d
커밋
c5ace949e4
1개의 변경된 파일
과
2개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
slstatus.c
+ 2
- 1
slstatus.c
파일 보기
@@ -88,8 +88,9 @@ smprintf(const char *fmt, ...)
va_end(ap);
ret = malloc(++len);
if (ret == NULL)
if (ret == NULL)
{
err(1, "malloc");
}
va_start(ap, fmt);
vsnprintf(ret, len, fmt, ap);
쓰기
미리보기
불러오는 중...
취소
저장