Debianization.
[become] / src / check.c
index 5b29b72..ed561a7 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: check.c,v 1.11 2003/10/12 00:14:55 mdw Exp $
+ * $Id: check.c,v 1.12 2003/11/29 23:39:16 mdw Exp $
  *
  * Check validity of requests
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: check.c,v $
+ * Revision 1.12  2003/11/29 23:39:16  mdw
+ * Debianization.
+ *
  * Revision 1.11  2003/10/12 00:14:55  mdw
  * Major overhaul.  Now uses DSA signatures rather than the bogus symmetric
  * encrypt-and-hope thing.  Integrated with mLib and Catacomb.
@@ -423,7 +426,7 @@ int check__client(request *rq, FILE *fp)
 
     {
       struct servent *s = getservbyname(quis(), "udp");
-      port = (s ? s->s_port : -1);
+      port = (s ? s->s_port : htons(SERVER_PORT));
     }
 
     /* --- Initialise for scanning the file --- */