Coding style, comments, spelling...

This commit is contained in:
Markus Armbruster 2006-05-26 18:46:50 +00:00
parent 109dad1bee
commit f3e85c2f70
9 changed files with 6 additions and 20 deletions

View file

@ -67,7 +67,7 @@ plurize(char *buf, int size, int n)
if (!len || n <= 1)
return buf;
switch(buf[len - 1]) {
switch (buf[len - 1]) {
case 'y':
buf[len - 1] = '\0';
strncat(buf, "ies", size - len);

View file

@ -139,8 +139,7 @@ static SERVICE_STATUS_HANDLE service_status_handle;
static void WINAPI
service_ctrl_handler(DWORD Opcode)
{
switch(Opcode)
{
switch(Opcode) {
case SERVICE_CONTROL_PAUSE:
service_status.dwCurrentState = SERVICE_PAUSED;
logerror("Pausing the service not supported");