#include "master-service-ssl.h"
#include "master-service-settings.h"
#include "iostream-ssl.h"
-#include "var-expand.h"
+#include "var-expand-new.h"
#include <getopt.h>
#include <unistd.h>
const char *error;
string_t *expanded;
- static const struct var_expand_table table[] = {
- { '\0', NULL, NULL },
- };
-
if (*import_environment == '\0')
return;
key = *envs;
else {
key = t_strdup_until(*envs, value++);
- if (var_expand_with_table(expanded, value, table,
- &error) <= 0)
+ if (var_expand_new(expanded, value, NULL, &error) < 0)
i_fatal("Cannot expand variable %s", value);
if (str_len(expanded) > 0) {
value = str_c(expanded);