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 memleak in datetime()
master
Aaron Marcher
8 anos atrás
committed by
Aaron Marcher (drkhsh)
pai
a8d5bde6a5
commit
086a70cde0
1 arquivos alterados
com
1 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
slstatus.c
+ 1
- 0
slstatus.c
Ver arquivo
@@ -160,6 +160,7 @@ datetime(const char *timeformat)
setlocale(LC_TIME, "");
if(!strftime(buf, bufsize, timeformat, localtime(&tm))) {
setlocale(LC_TIME, "C");
free(buf);
fprintf(stderr, "Strftime failed.\n");
return smprintf("n/a");
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar