Skip to content
Snippets Groups Projects
Commit 1c18cc57 authored by rswindell's avatar rswindell
Browse files

Bugfix: Ignore kludge lines embedded-in/appended-to areafix messages.

parent 5e3768be
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2003 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -1364,6 +1364,10 @@ char *process_areafix(faddr_t addr,char* inbuf,char *password)
del_area.tag=NULL;
for(l=0;l<m;l++) {
while(*(p+l) && *(p+l)<=' ') l++;
while(*(p+l)==1) { /* Ignore kludge lines June-13-2004 */
while(*(p+l) && *(p+l)!='\r') l++;
continue;
}
if(!(*(p+l))) break;
if(*(p+l)=='+' || *(p+l)=='-' || *(p+l)=='%') {
action=*(p+l);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment