]> mj.ucw.cz Git - nwho.git/blobdiff - net.h
Let save_pkt() calculates the packet length internally
[nwho.git] / net.h
diff --git a/net.h b/net.h
index 02d1c374ab26e3c012ed8a8be0b40c37e5c033f7..23fdf3088f09bf5b986752a6b9fc92347cc8ecbb 100644 (file)
--- a/net.h
+++ b/net.h
@@ -1,10 +1,7 @@
 /*
  *     The Remote User Info Distribution Protocol
  *
- *     (c) 1997--2002 Martin Mares <mj@ucw.cz>
- *
- *     This software may be freely distributed and used according to the terms
- *     of the GNU General Public License. See file COPYING in any of the GNU packages.
+ *     (c) 1997--2010 Martin Mares <mj@ucw.cz>
  */
 
 #include <inttypes.h>
@@ -22,7 +19,7 @@ struct userinfo {
   u32 idle_time;
 };
 
-struct rywho_pkt {
+struct nwho_pkt {
   u32 magic;                           /* Guard against ancient nwho versions */
   u32 local_time;
   u32 server_time;                     /* Reserved for use by the server */