Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
rinri
/
slstatus
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
fixed run_command behaviour for emtpy command output (uninitialized)
master
Aaron Marcher
8 anos atrás
committed by
Aaron Marcher (drkhsh)
pai
3bfa5fe60d
commit
98f3985d3e
1 arquivos alterados
com
1 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
slstatus.c
+ 1
- 1
slstatus.c
Ver arquivo
@@ -397,7 +397,7 @@ run_command(const char* command)
{
int good;
FILE *fp = popen(command, "r");
char buffer[64];
char buffer[64]
= ""
;
if (fp == NULL) {
warn("Could not get command output for: %s", command);
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar