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
|
Removed some debug logging from un_attach, made one into a
|
||||||
normal logmessage.
|
normal logmessage.
|
||||||
|
|
||||||
|
mbindex:
|
||||||
|
Fixed compiling pointlists where on the Boss line there is no
|
||||||
|
last comma on the line.
|
||||||
|
|
||||||
mbmsg:
|
mbmsg:
|
||||||
Fixed counter in log that should show the number of linked
|
Fixed counter in log that should show the number of linked
|
||||||
messages.
|
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.
|
* 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;
|
continue;
|
||||||
}
|
}
|
||||||
if ((q = strchr(p, ',')))
|
if ((q = strchr(p, ',')))
|
||||||
*q++ = '\0';
|
*q++ = '\0';
|
||||||
else {
|
|
||||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
ndx.type = NL_NONE;
|
ndx.type = NL_NONE;
|
||||||
ndx.pflag = 0;
|
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++) {
|
for (i = 0; i < 3; i++) {
|
||||||
p = q;
|
p = q;
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
WriteError("%s(%u): invalid dataline 3", nlname,lineno);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ((q = strchr(p, ',')))
|
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++) {
|
for (i = 0; i < 2; i++) {
|
||||||
p = q;
|
p = q;
|
||||||
if (p == NULL) {
|
if (p == NULL) {
|
||||||
WriteError("%s(%u): invalid dataline", nlname,lineno);
|
WriteError("%s(%u): invalid dataline 4", nlname,lineno);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ((q = strchr(p, ',')))
|
if ((q = strchr(p, ',')))
|
||||||
|
Reference in New Issue
Block a user