diff -r 85f6acbb9d54 -r dff8cc600cba src/objacces.c --- a/src/objacces.c Fri Apr 25 16:48:34 2008 +0200 +++ b/src/objacces.c Mon Apr 28 11:20:19 2008 +0200 @@ -129,7 +129,7 @@ if (checkAccess && (ptrTable->pSubindex[bSubindex].bAccessType & WO)) { MSG_WAR(0x2B30, "Access Type : ", ptrTable->pSubindex[bSubindex].bAccessType); - accessDictionaryError(wIndex, bSubindex, 0, 0, OD_WRITE_NOT_ALLOWED); + accessDictionaryError(wIndex, bSubindex, 0, 0, OD_READ_NOT_ALLOWED); return OD_READ_NOT_ALLOWED; }