# HG changeset patch # User bears # Date 972595795 -3600 # Node ID cb799054bd61efb800005f447caa8010a5e54a16 # Parent 1c7303c71f66b8dce32a0dde6907f37f7ba74dd3 [svn] Rats. Couple of warning slipped in during the last update. Fix 'em. diff -r 1c7303c71f66 -r cb799054bd61 src/protocol.c --- a/src/protocol.c Thu Oct 26 22:21:13 2000 +0100 +++ b/src/protocol.c Thu Oct 26 22:29:55 2000 +0100 @@ -1,7 +1,7 @@ /* protocol.c - $Id: protocol.c 227 2000-10-26 21:21:13Z bears $ + $Id: protocol.c 228 2000-10-26 21:29:55Z bears $ */ #if HAVE_CONFIG_H @@ -17,6 +17,7 @@ #include #include #include "common.h" +#include "configfile.h" #include "dynamicstring.h" #include "log.h" #include "over.h" @@ -355,7 +356,7 @@ /* First get the domain to use. If config empty, use FQDN */ Utl_cpyStr( domain, Cfg_fromDomain() ); - if ( DynStr_len( domain ) == 0 ) + if ( strlen( domain ) == 0 ) if ( ! getFQDN( domain ) ) Utl_catStr( domain, "unknown" );