diff -NurdB grdesktop-0.22-orig/src/options.c grdesktop-0.22/src/options.c --- grdesktop-0.22-orig/src/options.c 2004-06-08 23:27:14 -0500 +++ grdesktop-0.22/src/options.c 2004-06-08 23:27:42 -0500 @@ -487,6 +487,7 @@ while((entry = readdir(licence_dir)) != NULL) { gchar *fullname = NULL; + char *hostname; struct stat sts; fullname = g_strdup_printf("%s/%s", licence_path, @@ -500,7 +501,7 @@ if(strlen(entry->d_name) <= strlen(prefix)) continue; - gchar *hostname = &entry->d_name[strlen(prefix)]; + hostname = &entry->d_name[strlen(prefix)]; licence_list = g_list_append(licence_list, g_strdup(hostname)); } closedir(licence_dir);