[cvslog] (2002-09-15 19:26:45 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Sep 15 14:27:01 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2002-09-15 19:26:45 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/net.c src/patch.h

Log message:

Tell the user to set 'my-ip' when hostname self-lookup fails.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.406 eggdrop1.6/doc/UPDATES1.6:1.407
--- eggdrop1.6/doc/UPDATES1.6:1.406	Tue Sep 10 21:07:26 2002
+++ eggdrop1.6/doc/UPDATES1.6	Sun Sep 15 14:26:35 2002
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.406 2002/09/11 02:07:26 wcc Exp $
+$Id: UPDATES1.6,v 1.407 2002/09/15 19:26:35 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.13
 Found by  Fixed by  What...
+guppy     Wcc       tell the user to set 'my-ip' when hostname self-lookup fails
 ridens    Wcc       improved access checking in -host/+host
 Jerome    Wcc       fixed a possible buffer overflow in raw_dcc_resend_send()
           darko``   fixed a missing escape in some regexps in misc/modconfig
Index: eggdrop1.6/src/net.c
diff -u eggdrop1.6/src/net.c:1.42 eggdrop1.6/src/net.c:1.43
--- eggdrop1.6/src/net.c:1.42	Fri Jul 26 12:55:18 2002
+++ eggdrop1.6/src/net.c	Sun Sep 15 14:26:35 2002
@@ -2,7 +2,7 @@
  * net.c -- handles:
  *   all raw network i/o
  * 
- * $Id: net.c,v 1.42 2002/07/26 17:55:18 guppy Exp $
+ * $Id: net.c,v 1.43 2002/09/15 19:26:35 wcc Exp $
  */
 /* 
  * This is hereby released into the public domain.
@@ -119,7 +119,8 @@
     hp = gethostbyname(s);
   }
   if (hp == NULL)
-    fatal("Hostname self-lookup failed.", 0);
+    fatal("Hostname self-lookup failed. Please set 'my-ip' in the config "
+          "file.", 0);
   in = (struct in_addr *) (hp->h_addr_list[0]);
   ip = (IP) (in->s_addr);
   return ip;
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.820 eggdrop1.6/src/patch.h:1.821
--- eggdrop1.6/src/patch.h:1.820	Tue Sep 10 21:14:44 2002
+++ eggdrop1.6/src/patch.h	Sun Sep 15 14:26:35 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.820 2002/09/11 02:14:44 wcc Exp $
+ * $Id: patch.h,v 1.821 2002/09/15 19:26:35 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1031710237");		/* current unixtime */
+patch("1032117380");		/* current unixtime */
 /*
  *
  *
  */
-patch("cmdscosmetic");
+patch("lookuperror");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list