]> err.no Git - sope/blobdiff - sope-appserver/NGObjWeb/WOResourceRequestHandler.m
bugfix, bumped dyld versions
[sope] / sope-appserver / NGObjWeb / WOResourceRequestHandler.m
index 32d6eff7c0413de32f4673c1e37b2e1f66724ae9..b6de8a2091ef448c5dd1b6e8c80434456c114c1b 100644 (file)
@@ -1,20 +1,20 @@
 /*
-  Copyright (C) 2000-2004 SKYRIX Software AG
+  Copyright (C) 2000-2005 SKYRIX Software AG
 
-  This file is part of OpenGroupware.org.
+  This file is part of SOPE.
 
-  OGo is free software; you can redistribute it and/or modify it under
+  SOPE is free software; you can redistribute it and/or modify it under
   the terms of the GNU Lesser General Public License as published by the
   Free Software Foundation; either version 2, or (at your option) any
   later version.
 
-  OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+  SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
   WARRANTY; without even the implied warranty of MERCHANTABILITY or
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
   License for more details.
 
   You should have received a copy of the GNU Lesser General Public
-  License along with OGo; see the file COPYING.  If not, write to the
+  License along with SOPE; see the file COPYING.  If not, write to the
   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
 */
@@ -156,11 +156,11 @@ static BOOL debugOn = NO;
     rmkey = [handlerPath objectAtIndex:0];
     if ([rmkey length] > 0) {
       WOResourceManager *rm;
-      id data;
+      NSDictionary *data;
       
       rm = [[WOApplication application] resourceManager];
       
-      if ((data = [rm _dataForKey:rmkey sessionID:nil])) {
+      if ((data = [rm _dataForKey:rmkey sessionID:nil]) != nil) {
         WOResponse *response;
         
         response = [WOResponse responseWithRequest:_request];