diff options
Diffstat (limited to 'packet-who.c')
-rw-r--r-- | packet-who.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packet-who.c b/packet-who.c index 66d76b7398..628fbc7c45 100644 --- a/packet-who.c +++ b/packet-who.c @@ -2,22 +2,22 @@ * Routines for who protocol (see man rwhod) * Gilbert Ramirez <gram@alumni.rice.edu> * - * $Id: packet-who.c,v 1.24 2002/08/02 23:36:04 jmayer Exp $ + * $Id: packet-who.c,v 1.25 2002/08/28 21:00:37 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. @@ -41,9 +41,9 @@ RWHOD(8) UNIX System Manager's Manual RWHOD(8) The messages sent and received, are of the form: struct outmp { -0 char out_line[8]; tty name -8 char out_name[8]; user id -16 long out_time; time on +0 char out_line[8]; tty name +8 char out_name[8]; user id +16 long out_time; time on }; struct whod { @@ -188,8 +188,8 @@ dissect_whoent(tvbuff_t *tvb, int offset, proto_tree *tree) proto_tree *whoent_tree = NULL; proto_item *whoent_ti = NULL; int line_offset = offset; - gchar out_line[9]; - gchar out_name[9]; + gchar out_line[9]; + gchar out_name[9]; nstime_t ts; int whoent_num = 0; guint32 idle_secs; /* say that out loud... */ |