From: <can...@li...> - 2009-03-11 01:51:54
|
On Wed, 2009-03-11 at 12:49 +1100, James wrote: > Huh? Another bug and patch in objacces.c.. > > diff -Nauw a/src/objacces.c b/src/objacces.c > --- a/src/objacces.c 2009-03-11 12:46:40.000000000 +1100 > +++ b/src/objacces.c 2009-03-11 12:02:04.000000000 +1100 > @@ -325,7 +325,7 @@ > } > return OD_SUCCESSFUL; > } else { > - *pExpectedSize = szData; > + //*pExpectedSize = szData; > accessDictionaryError(wIndex, bSubindex, szData, > *pExpectedSize, > OD_LENGTH_DATA_INVALID); > > Line 207 looks wrong too. BTW, I had to pass objacces.c through indent to read it. The indenting was way to small for me to follow! indent -kr -i8 objacces.c Cheers, James. |