]> code.citadel.org Git - citadel.git/commitdiff
* Client support for hostnames up to 63 characters: truncated at 24 in
authorMichael Hampton <io_error@uncensored.citadel.org>
Fri, 28 Dec 2001 09:39:10 +0000 (09:39 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Fri, 28 Dec 2001 09:39:10 +0000 (09:39 +0000)
  short who list, full display in long who list.

citadel/ChangeLog
citadel/citadel.c

index decba3629d2edb24cb7e1f073d2d6fa92a6a1e61..08260b88564e5feaa798b8a828ae2881c577bf7d 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 590.20  2001/12/28 09:39:10  error
+ * Client support for hostnames up to 63 characters: truncated at 24 in
+   short who list, full display in long who list.
+
  Revision 590.19  2001/12/28 09:28:04  error
  * Server support for hostnames up to 63 characters
 
@@ -3008,3 +3012,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index 88d48ef1e2fa5901d8286c872b159989e0281d2b..1ab7e9cdb6590467a8f948db3b9ead2fc815355b 100644 (file)
@@ -840,6 +840,7 @@ void who_is_online(int longlist)
                                roomname[20] = 0;
                                pprintf("%-20s ", roomname);
                                color(BRIGHT_CYAN);
+                               fromhost[24] = '\0';
                                pprintf("%-24s\n", fromhost);
                                color(DIM_WHITE);
                        }