]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/client.c
Add Doxygen @file documentation to each source and header file
[ngircd.git] / src / ngircd / client.c
index ecd1a7c5fb462cdd6f319578376a42dccb7eb09a..7a6b275da5918ea0030a12f4aa97804d980cd6ee 100644 (file)
@@ -7,8 +7,6 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * Client management.
  */
 
 
 
 #include "portab.h"
 
+/**
+ * @file
+ * Client management.
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <unistd.h>
@@ -93,7 +96,7 @@ Client_Init( void )
        This_Server->hops = 0;
 
        gethostname( This_Server->host, CLIENT_HOST_LEN );
-       if (!Conf_NoDNS) {
+       if (Conf_DNS) {
                h = gethostbyname( This_Server->host );
                if (h) strlcpy(This_Server->host, h->h_name, sizeof(This_Server->host));
        }