ソースを参照

do not exit on failed smprintf

master
Aaron Marcher 8年前
committed by Aaron Marcher (drkhsh)
コミット
db07244cb8
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      slstatus.c

+ 1
- 1
slstatus.c ファイルの表示

@@ -90,7 +90,7 @@ smprintf(const char *fmt, ...)
ret = malloc(++len);
if (ret == NULL) {
warn("Malloc failed.");
exit(1);
return "n/a";
}

va_start(ap, fmt);


読み込み中…
キャンセル
保存