[lwatch-cvs] files/src strpcre.c,1.27,1.28
Brought to you by:
arturcz
|
From: Artur R. C. <ar...@us...> - 2004-08-19 10:30:18
|
Update of /cvsroot/lwatch/files/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3080 Modified Files: strpcre.c Log Message: For spurious user configuration following while loop could never be run and pres contains random pointer. That's why we need to assign proper value. Index: strpcre.c =================================================================== RCS file: /cvsroot/lwatch/files/src/strpcre.c,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** strpcre.c 11 Mar 2004 23:43:43 -0000 1.27 --- strpcre.c 19 Aug 2004 10:30:01 -0000 1.28 *************** *** 138,141 **** --- 138,142 ---- pmatch=newstr(str); start_match=0; + pres=pmatch; sprintf(ctrl,"^%02i",HL_COLOR); while(pcre_exec(act->re,act->rh,pmatch,strlen(pmatch),start_match,0,(int*)&re_matches,RE_NMATCHES)>0) { |