Update of /cvsroot/x2serv/x2/source
In directory usw-pr-cvs1:/tmp/cvs-serv21007
Modified Files:
parse.c
Log Message:
There were two places in the source code that could give exactly the same
error. After another wallop, I thought it would be better to include the
line number.
Index: parse.c
===================================================================
RCS file: /cvsroot/x2serv/x2/source/parse.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -r1.64 -r1.65
*** parse.c 2001/04/25 11:39:06 1.64
--- parse.c 2001/06/28 10:06:13 1.65
***************
*** 512,516 ****
else
{
! Debug(DBGWARNING, "m_part(): cant find [%s] in memory.", &channel[i+1]);
}
channel[i] = '\0';
--- 512,516 ----
else
{
! Debug(DBGWARNING, "m_part(): cant find [%s] in memory. (line %d)", &channel[i+1], __LINE__);
}
channel[i] = '\0';
***************
*** 523,527 ****
else
{
! Debug(DBGWARNING, "m_part(): can't find [%s] in memory.", channel);
}
return(0);
--- 523,527 ----
else
{
! Debug(DBGWARNING, "m_part(): can't find [%s] in memory. (line %d)", channel, __LINE__);
}
return(0);
|