]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 23 Feb 2007 13:59:45 +0000 (13:59 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 23 Feb 2007 13:59:45 +0000 (13:59 +0000)
git-svn-id: file:///svn/unbound/trunk@140 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/unbound.c
util/log.c

index a8769ae6b5256db79f7ebcfbe20c85269979ad3b..965ca137fed2e1558f00e28e8d348bef447f0375 100644 (file)
@@ -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)
 {
index 4ca4dac97dcb327d158cedfbfacef598b7a5eb3d..17350dea58160d07c949edbf7772d00aeaec2811 100644 (file)
@@ -44,6 +44,7 @@
 #endif
 
 enum verbosity_value verbosity = 0;
+/** the file logged to. */
 static FILE* logfile = 0;
 
 void