Minor fixes for a couple 'uninitialized vars' that gcc here wasn't informing me of :)
[pandora-libraries.git] / lib / pnd_conf.c
index 64c9ade..aece00d 100644 (file)
@@ -35,7 +35,7 @@ char *pnd_conf_query_searchpath ( void ) {
 
   temp = pnd_conf_get_as_char ( ch, PND_CONF_KEY );
 
-  if ( searchpath ) {
+  if ( temp ) {
     searchpath = strdup ( temp );
   } else {
     searchpath = strdup ( PND_CONF_SEARCHPATH );