X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fsettings.c;h=124d9db7eb23f3fb8495ab44dd2112af6f261086;hb=96707c992b975c2c9b500bd6a5075b5631e32e26;hp=ccf7b61fca906997f5ffd7a1fff1650f81c1b616;hpb=76c21d428775e02c8b095d6b12f3d5ab323cf0fe;p=pazpar2-moved-to-github.git diff --git a/src/settings.c b/src/settings.c index ccf7b61..124d9db 100644 --- a/src/settings.c +++ b/src/settings.c @@ -71,7 +71,7 @@ static char *hard_settings[] = { "pz:max_connections", "pz:reuse_connections", "pz:termlist_term_factor", - "pz:termlist_term_cont", + "pz:termlist_term_count", "pz:preferred", "pz:extra_args", "pz:query_syntax", @@ -145,7 +145,7 @@ int settings_lookup_offset(struct conf_service *service, const char *name) return settings_index_lookup(service->dictionary, name, 0); } -static char *settings_name(struct conf_service *service, int offset) +char *settings_name(struct conf_service *service, int offset) { assert(offset < service->dictionary->num); return service->dictionary->dict[offset]; @@ -368,7 +368,7 @@ void expand_settings_array2(struct settings *settings, int offset, NMEM nmem) } } -void update_settings(struct setting *set, struct settings *settings, int offset, NMEM nmem) +static void update_settings(struct setting *set, struct settings *settings, int offset, NMEM nmem) { struct setting **sp; yaz_log(YLOG_LOG, "update service settings offset %d with %s=%s", offset, set->name, set->value);