Index: trunk/Ohana/src/opihi/lib.shell/ConfigInit.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/ConfigInit.c	(revision 2598)
+++ trunk/Ohana/src/opihi/lib.shell/ConfigInit.c	(revision 4833)
@@ -26,23 +26,18 @@
 
   answer = get_variable (keyword);
-  if (answer != (char *) NULL) {
-
-    if (!strcmp (mode, "%s")) {
-      strcpy ((char *) ptr, answer);
-    } else {
-      if (!strcmp (mode, "%d"))  *(int *) ptr       = atoi (answer);
-      if (!strcmp (mode, "%u"))  *(unsigned *) ptr  = atoi (answer);
-      if (!strcmp (mode, "%ld")) *(long *) ptr      = atoi (answer);
-      if (!strcmp (mode, "%hd")) *(short *) ptr     = atoi (answer);
-      if (!strcmp (mode, "%f"))  *(float *) ptr     = atof (answer);
-      if (!strcmp (mode, "%lf")) *(double *) ptr    = atof (answer);
-    }
-    free (answer);
-    return (ptr);
+  if (answer == (char *) NULL) {
+    answer = ScanConfig (GlobalConfig, keyword, mode, 0, ptr);
+    return (answer);
   }
 
-  answer = ScanConfig (GlobalConfig, keyword, mode, 0, ptr);
-  return (answer);
+  if (!strcmp (mode, "%s"))  strcpy ((char *) ptr, answer);
+  if (!strcmp (mode, "%d"))  *(int *) ptr       = atoi (answer);
+  if (!strcmp (mode, "%u"))  *(unsigned *) ptr  = atoi (answer);
+  if (!strcmp (mode, "%ld")) *(long *) ptr      = atoi (answer);
+  if (!strcmp (mode, "%hd")) *(short *) ptr     = atoi (answer);
+  if (!strcmp (mode, "%f"))  *(float *) ptr     = atof (answer);
+  if (!strcmp (mode, "%lf")) *(double *) ptr    = atof (answer);
+
+  free (answer);
+  return (ptr);
 }
-
-  
