yaz-client: don't display bogus records from SRU servers
[yaz-moved-to-github.git] / util / yaz-icu.c
index 2833109..603517b 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2012 Index Data
  * See the file LICENSE for details.
  */
 
@@ -537,9 +537,9 @@ static void process_text_file(struct config_t *p_config)
 
 int main(int argc, char **argv) 
 {
+#if YAZ_HAVE_ICU
     struct config_t config;
 
-#if YAZ_HAVE_ICU
     read_params(argc, argv, &config);
 
     if (config.conffile && strlen(config.conffile))