Changeset 1167 for 1.8.3/trunk/src/fundb.c
- Timestamp:
- 12/28/07 19:57:17 (1 year ago)
- Files:
-
- 1.8.3/trunk/src/fundb.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/trunk/src/fundb.c
r1032 r1167 1224 1224 ltype = get_locktype(p); 1225 1225 1226 if (GoodObject(it) && (ltype != NULL)1227 && Can_Read_Lock(executor, it, ltype)) {1226 if (GoodObject(it) && (ltype !=NULL) 1227 &&Can_Read_Lock(executor, it, ltype)) { 1228 1228 ll = getlockstruct(it, ltype); 1229 1229 if (ll) { … … 1263 1263 1264 1264 if ((ltype = strchr(args[0], '/'))) { 1265 *ltype ++ = '\0';1265 *ltype ++ = '\0'; 1266 1266 upcasestr(ltype); 1267 1267 } … … 1307 1307 ltype = get_locktype(p); 1308 1308 1309 if (!GoodObject(it) || (ltype == NULL) || !Can_Read_Lock(executor, it, ltype)) {1309 if (!GoodObject(it) || (ltype == NULL) ||!Can_Read_Lock(executor, it, ltype)) { 1310 1310 safe_str("#-1", buff, bp); 1311 1311 return;
