--- src/stf-parse.c.orig	2006-11-23 19:58:39.000000000 +0200
+++ src/stf-parse.c	2006-11-23 20:01:02.000000000 +0200
@@ -1418,10 +1418,12 @@
 		stf_parse_options_set_type (res, PARSE_TYPE_CSV);
 		stf_parse_options_set_trim_spaces (res, TRIM_TYPE_LEFT | TRIM_TYPE_RIGHT);
 		stf_parse_options_csv_set_indicator_2x_is_single (res, TRUE);
-		stf_parse_options_csv_set_duplicates
-			(res, strchr (res->sep.chr, ' ') != NULL);
-		stf_parse_options_csv_set_trim_seps
-			(res, strchr (res->sep.chr, ' ') != NULL);
+		if (res->sep.chr) {
+			stf_parse_options_csv_set_duplicates
+				(res, strchr (res->sep.chr, ' ') != NULL);
+			stf_parse_options_csv_set_trim_seps
+				(res, strchr (res->sep.chr, ' ') != NULL);
+		}
 
 		stf_parse_options_csv_set_stringindicator (res, '"');
 	} else {
