Re: Testing, testing

[email protected] ()
Newsgroups gmane.network.sn
Message-ID <7143.384b14c4.471aa@felicity>
Patrik R}dman INF ([email protected]) wrote:
: Testing, 1, 2, 3...
: *tap* *tap* Is this thing on? :)

: -- 
:   Patrik Rådman  ·  patrik at iki dot fi  ·  http://www.iki.fi/patrik/
:        "With sufficient thrust, pigs fly just fine."  -- RFC 1925

Hi Patrik,

Might as well post this.  For slrn users who had problems with
"bogus newsgroup" errors.

-harold

--- /tmp/sn-0.3.1/list.c	Tue Aug 10 12:11:08 1999
+++ /var/home/harold/src/sn-0.3.2/list.c	Tue Nov 16 23:55:12 1999
@@ -22,7 +22,7 @@
 #include <out.h>
 #include <wildmat.h>
 
-static const char rcsid[] = "$Id: list.c,v 1.19 1999/08/10 04:11:08 harold Exp $";
+static const char rcsid[] = "$Id: list.c,v 1.20 1999/11/16 15:55:12 harold Exp $";
 
 /* Same as LIST but may have an optional wildmat */
 
@@ -38,7 +38,7 @@
 
   for_each_key(i, j, kp){
     group = KEY(kp);
-    if( ! args[2] || wildmat(group, args[2]) )
+    if( ! args[1] || ! args[2] || wildmat(group, args[2]) )
       if( 0 == group_info(group, &g) )
         args_write(1, "%s %d %d %s\r\n",
          group, g.last, g.first, g.nopost?"n":"y");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.