Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
rinri
/
slstatus
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
fixed memleak in datetime()
master
Aaron Marcher
hace 8 años
committed by
Aaron Marcher (drkhsh)
padre
a8d5bde6a5
commit
086a70cde0
Se han
modificado 1 ficheros
con
1 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-0
slstatus.c
+ 1
- 0
slstatus.c
Ver fichero
@@ -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");
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar