about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-10-25 00:17:46 +0200
committerAlexander Barton <alex@barton.de>2010-10-25 00:17:46 +0200
commit0c0cac641d07a92aea72ccc165fb0cbe3f834464 (patch)
tree0e992bcc998e279af573d4a1e2ee67c61b03e310
parent8288878122468e47df8cc77dfafd5c558508bbec (diff)
downloadngircd-0c0cac641d07a92aea72ccc165fb0cbe3f834464.tar.gz
ngircd-0c0cac641d07a92aea72ccc165fb0cbe3f834464.zip
ZeroConf: include header files missing since commit a988bbc86a
-rw-r--r--src/ngircd/rendezvous.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngircd/rendezvous.c b/src/ngircd/rendezvous.c
index 2d9ae699..c0c22eb7 100644
--- a/src/ngircd/rendezvous.c
+++ b/src/ngircd/rendezvous.c
@@ -1,6 +1,6 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- * Copyright (c)2001-2004 by Alexander Barton (alex@barton.de)
+ * Copyright (c)2001-2010 by Alexander Barton (alex@barton.de)
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -21,8 +21,6 @@
 #ifdef ZEROCONF
 
 
-static char UNUSED id[] = "$Id: rendezvous.c,v 1.8 2006/05/10 21:24:01 alex Exp $";
-
 #include "imp.h"
 #include <assert.h>
 
@@ -43,6 +41,8 @@ static char UNUSED id[] = "$Id: rendezvous.c,v 1.8 2006/05/10 21:24:01 alex Exp
 #endif
 
 #include "defines.h"
+#include "conn.h"
+#include "conf.h"
 #include "log.h"
 
 #include "exp.h"
@@ -152,7 +152,7 @@ GLOBAL bool Rendezvous_Register( char *Name, char *Type, UINT16 Port )
 	int i;
 
 	if (Conf_NoZeroConf)
-		return;
+		return true;
 
 	/* Search free port structure */
 	for( i = 0; i < MAX_RENDEZVOUS; i++ ) if( ! My_Rendezvous[i].Desc[0] ) break;