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

Scope problems fixed.

Rev: lib/modules/Protocols.pmod/NNTP.pmod:1.2
parent bf622cf0
Branches
Tags
No related merge requests found
......@@ -8,11 +8,12 @@ class protocol
int readreturncode()
{
int space, code;
do {
int space=' ';
space=' ';
string tmp=news::gets();
if(!tmp) return 0;
sscanf(tmp,"%d%c%s",int code,int space,rest);
sscanf(tmp,"%d%c%s",code,int space,rest);
} while(space == '-');
return code;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment