Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 16817)
+++ trunk/psModules/src/config/pmConfig.c	(revision 17264)
@@ -167,6 +167,6 @@
 void pmConfigDone(void)
 {
-    if (configPath) { 
-	psFree(configPath);
+    if (configPath) {
+        psFree(configPath);
     }
     configPath = NULL;
@@ -441,7 +441,7 @@
     // XXX why was this being called here?  Is someone calling pmConfigRead multiple times?
     // pmConfigDone();
-    assert (configPath == NULL);  
-
-    // define the config-file search path (configPath).  
+    assert (configPath == NULL);
+
+    // define the config-file search path (configPath).
     psString path = psMetadataLookupStr(NULL, config->user, "PATH");
     pmConfigSet (path);
@@ -589,9 +589,9 @@
 
     // XXX read TIME from SITE (or system?)
-    { 
-	bool mdok = true;
+    {
+        bool mdok = true;
 
         // Initialise the psLib time handling
-	// XXX is this still needed / desired?
+        // XXX is this still needed / desired?
         psString timeName = psMetadataLookupStr(&mdok, config->complete, "TIME");
         if (mdok && timeName)
@@ -1510,5 +1510,5 @@
     }
 
-    return psMetadataLookupMetadata(NULL, filerules, realname);
-}
-
+    return psMetadataLookupMetadata(&mdok, filerules, realname);
+}
+
