From 6210c9a282e22e242f11ed1dc086213f8e50c97e Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Sun, 21 Sep 2003 08:57:21 +0000 Subject: [PATCH] Actually return 0 if there is no second quotation mark. --- sanei/sanei_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sanei/sanei_config.c b/sanei/sanei_config.c index b8f251403..a37654ab1 100644 --- a/sanei/sanei_config.c +++ b/sanei/sanei_config.c @@ -162,7 +162,7 @@ sanei_config_get_string (const char *str, char **string_const) if (start) *string_const = strndup (start, len); else - string_const = 0; + *string_const = 0; return str; }