Fixed compiling some pointlists
This commit is contained in:
parent
ec76c05fa2
commit
e50361205f
@ -23,6 +23,10 @@ v0.61.4 11-Aug-2004
|
||||
Removed some debug logging from un_attach, made one into a
|
||||
normal logmessage.
|
||||
|
||||
mbindex:
|
||||
Fixed compiling pointlists where on the Boss line there is no
|
||||
last comma on the line.
|
||||
|
||||
mbmsg:
|
||||
Fixed counter in log that should show the number of linked
|
||||
messages.
|
||||
|
@ -455,15 +455,11 @@ int compile(char *nlname, unsigned short zo, unsigned short ne, unsigned short n
|
||||
/*
|
||||
* Extra check for valid datalines, there should be at least one comma.
|
||||
*/
|
||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
||||
WriteError("%s(%u): invalid dataline 1", nlname,lineno);
|
||||
continue;
|
||||
}
|
||||
if ((q = strchr(p, ',')))
|
||||
*q++ = '\0';
|
||||
else {
|
||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
||||
continue;
|
||||
}
|
||||
|
||||
ndx.type = NL_NONE;
|
||||
ndx.pflag = 0;
|
||||
@ -602,7 +598,7 @@ int compile(char *nlname, unsigned short zo, unsigned short ne, unsigned short n
|
||||
for (i = 0; i < 3; i++) {
|
||||
p = q;
|
||||
if (p == NULL) {
|
||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
||||
WriteError("%s(%u): invalid dataline 3", nlname,lineno);
|
||||
continue;
|
||||
}
|
||||
if ((q = strchr(p, ',')))
|
||||
@ -624,7 +620,7 @@ int compile(char *nlname, unsigned short zo, unsigned short ne, unsigned short n
|
||||
for (i = 0; i < 2; i++) {
|
||||
p = q;
|
||||
if (p == NULL) {
|
||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
||||
WriteError("%s(%u): invalid dataline 4", nlname,lineno);
|
||||
continue;
|
||||
}
|
||||
if ((q = strchr(p, ',')))
|
||||
|
Reference in New Issue
Block a user