Skip to content
Snippets Groups Projects
Commit 841a9e67 authored by rswindell's avatar rswindell
Browse files

Terminate importing of messages if server is terminated.

parent aa4635f9
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,11 @@ bool sbbs_t::unpack_rep(char* repfile)
bputs(text[QWKUnpacking]);
for(l=QWK_BLOCK_LEN;l<size;l+=i*QWK_BLOCK_LEN) {
if(terminated) {
bprintf("!Terminated");
break;
}
lncntr=0; /* defeat pause */
if(fseek(rep,l,SEEK_SET)!=0) {
sprintf(str,"%s.msg", cfg.sys_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment