/* -*-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
*
/*----- 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.
{
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 --- */