Fixed typo in objaccess.c. Thanks to James
authoretisserant
Mon, 28 Apr 2008 11:20:19 +0200
changeset 450 dff8cc600cba
parent 449 85f6acbb9d54
child 451 236c2e901e2e
Fixed typo in objaccess.c. Thanks to James
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;
   }