mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-07 23:39:35 -05:00
Fixup.
git-svn-id: file:///svn/unbound/trunk@140 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
7e4700ec5f
commit
a92f1cf9ac
2 changed files with 6 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ readpid (const char* file)
|
|||
pid_t pid;
|
||||
char pidbuf[32];
|
||||
char* t;
|
||||
int l;
|
||||
ssize_t l;
|
||||
|
||||
if ((fd = open(file, O_RDONLY)) == -1) {
|
||||
return -1;
|
||||
|
|
@ -134,7 +134,10 @@ writepid (const char* pidfile, pid_t pid)
|
|||
fclose(f);
|
||||
}
|
||||
|
||||
/** check old pid file */
|
||||
/**
|
||||
* check old pid file.
|
||||
* @param cfg: the config settings
|
||||
*/
|
||||
static void
|
||||
checkoldpid(struct config_file* cfg)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
#endif
|
||||
|
||||
enum verbosity_value verbosity = 0;
|
||||
/** the file logged to. */
|
||||
static FILE* logfile = 0;
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue