src/objacces.c
changeset 450 dff8cc600cba
parent 437 129bbe0504e4
child 469 f2b07ea215b5
--- 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;
   }