Explorar el Código

Add blank line after setlocale

setlocale() has to be separated from the signal handling.
Aaron Marcher hace 8 años
padre
commit
8e25af7dc3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      slstatus.c

+ 1 - 0
slstatus.c

@@ -843,6 +843,7 @@ main(int argc, char *argv[])
 	}
 
 	setlocale(LC_ALL, "");
+
 	memset(&act, 0, sizeof(act));
 	act.sa_handler = terminate;
 	sigaction(SIGINT,  &act, NULL);