chiark / gitweb /
Add global unihash table; use universal hashing instead of CRC.
[mLib] / ident.c
diff --git a/ident.c b/ident.c
index 5052163678b88aed40ef020ae0500323d27a8422..2d2f9b956e5035a4bfc9a95d7725f54b6f0c4224 100644 (file)
--- a/ident.c
+++ b/ident.c
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: ident.c,v 1.4 2001/06/22 19:35:39 mdw Exp $
+ * $Id: ident.c,v 1.5 2002/01/13 13:33:15 mdw Exp $
  *
  * Nonblocking RFC931 client
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: ident.c,v $
+ * Revision 1.5  2002/01/13 13:33:15  mdw
+ * Track interface change for @lbuf@.
+ *
  * Revision 1.4  2001/06/22 19:35:39  mdw
  * New @conn_init@ interface.
  *
@@ -165,6 +168,7 @@ static void parse(char *p, ident_reply *i)
 /* --- @line@ --- *
  *
  * Arguments:  @char *s@ = pointer to string from ident server
+ *             @size_t len@ = length of the line
  *             @void *p@ = pointer to my request block
  *
  * Returns:    ---
@@ -172,7 +176,7 @@ static void parse(char *p, ident_reply *i)
  * Use:                Handles a string from an ident server.
  */
 
-static void line(char *s, void *p)
+static void line(char *s, size_t len, void *p)
 {
   ident_request *rq = p;