Coding style fixes, mostly indentation and whitespace

This commit is contained in:
Markus Armbruster 2010-05-18 22:09:01 +02:00
parent 8a0d117d45
commit 373651359e
47 changed files with 131 additions and 130 deletions

View file

@ -320,7 +320,7 @@ info(void)
default:
pr("Error reading info dir\n");
logerror("Error (%lu) reading info dir(%s)\\file(%s)",
GetLastError(), infodir, filename);
GetLastError(), infodir, filename);
}
return RET_FAIL;
}
@ -412,7 +412,7 @@ apro(void)
lhitlim = 100;
}
snprintf(filename, sizeof(filename), "%s\\*",infodir);
snprintf(filename, sizeof(filename), "%s\\*", infodir);
hDir = FindFirstFile(filename, &fData);
if (hDir == INVALID_HANDLE_VALUE) {
if (GetLastError() == ERROR_PATH_NOT_FOUND) {
@ -421,7 +421,7 @@ apro(void)
} else {
pr("Error reading info dir\n");
logerror("Error (%lu) reading info dir(%s)\\file(%s)",
GetLastError(), infodir, filename);
GetLastError(), infodir, filename);
}
return RET_FAIL;
}
@ -446,7 +446,7 @@ apro(void)
(fData.dwFileAttributes == FILE_ATTRIBUTE_ARCHIVE) ||
(fData.dwFileAttributes == FILE_ATTRIBUTE_READONLY))) {
snprintf(filename, sizeof(filename), "%s\\%s", infodir,
fData.cFileName);
fData.cFileName);
fp = fopen(filename, "rb");
alreadyhit = 0;
nll = nlhl = 0;