X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/ea96b00d33fc166078b270aa45db716b52a85e5e..7ed14135434df136e971a43b1774b827714ef7f9:/client.c diff --git a/client.c b/client.c index 696e9c77..1014d246 100644 --- a/client.c +++ b/client.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: client.c,v 1.10 2003/05/17 10:59:19 mdw Exp $ + * $Id: client.c,v 1.11 2003/07/13 11:19:49 mdw Exp $ * * Client for TrIPE * @@ -29,6 +29,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: client.c,v $ + * Revision 1.11 2003/07/13 11:19:49 mdw + * Incopatible protocol fix! Include message type code under MAC tag to prevent + * cut-and-paste from key-exchange messages to general packet transport. + * * Revision 1.10 2003/05/17 10:59:19 mdw * Put a newline in the pidfile. * @@ -440,6 +444,8 @@ int main(int argc, char *argv[]) close(pfd[0]); if (logfp) fclose(logfp); + if (pidfp) + fclose(pidfp); closelog(); if (f & f_daemon) u_detach();