Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
rinri
/
slstatus
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
braces for one line statements in smprintf()
master
Aaron Marcher
8 anni fa
committed by
Aaron Marcher (drkhsh)
parent
bad8dc682d
commit
c5ace949e4
1 ha cambiato i file
con
2 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+2
-1
slstatus.c
+ 2
- 1
slstatus.c
Vedi File
@@ -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);
Scrivi
Anteprima
Caricamento…
Annulla
Salva