diff src/client.c @ 228:1ad2602f57db noffle

[svn] see Changelog Dec 18 2001
author mirkol
date Tue, 18 Dec 2001 15:27:08 +0000
parents ffb1848a39db
children 91c91d102564
line wrap: on
line diff
--- a/src/client.c	Tue Dec 18 15:24:49 2001 +0000
+++ b/src/client.c	Tue Dec 18 15:27:08 2001 +0000
@@ -1,7 +1,7 @@
 /*
   client.c
 
-  $Id: client.c 342 2001-12-09 12:31:57Z bears $
+  $Id: client.c 358 2001-12-18 15:27:08Z mirkol $
 */
 
 #if HAVE_CONFIG_H
@@ -457,6 +457,11 @@
             Log_err( "Unknown reply to LIST or NEWGROUPS: %s", line );
             continue;
         }
+        if ( ! Grp_isValidGroupName( grp ) )
+        {
+            Log_inf( "Group name %s invalid", grp );
+            continue;
+        }
 	if ( isForbiddenGroupName( grp ) )
 	{
 	    Log_inf( "Group %s forbidden", grp );