本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
rinri
/
slstatus
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
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);
Write
Preview
Loading…
取消
儲存