Skip to content
Snippets Groups Projects
Commit b2dca21e authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Test in list_groups was wrong.

Rev: lib/modules/Protocols.pmod/NNTP.pmod:1.3
parent feddffa1
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ class client ...@@ -89,7 +89,7 @@ class client
foreach(read_body_lines(),string line) foreach(read_body_lines(),string line)
{ {
object o=Group(); object o=Group();
if(sscanf(line,"%s %d %d",o->group,o->max,o->min)==4) if(sscanf(line,"%s %d %d",o->group,o->max,o->min)==3)
ret+=({o}); ret+=({o});
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment