You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
848 B

Index: lib/server.c
--- lib/server.c.orig 2003-11-14 17:49:07.000000000 +0100
+++ lib/server.c 2003-12-01 20:17:35.000000000 +0100
@@ -436,18 +436,9 @@
size_t path_len;
char *config_filename=NULL;
size_t len;
- const sasl_callback_t *getpath_cb=NULL;
- /* get the path to the plugins; for now the config file will reside there */
- getpath_cb=_sasl_find_getpath_callback( global_callbacks.callbacks );
- if (getpath_cb==NULL) return SASL_BADPARAM;
-
- /* getpath_cb->proc MUST be a sasl_getpath_t; if only c had a type
- system */
- result = ((sasl_getpath_t *)(getpath_cb->proc))(getpath_cb->context,
- &path_to_config);
- if (result!=SASL_OK) goto done;
- if (path_to_config == NULL) path_to_config = "";
+ result = SASL_OK;
+ path_to_config = "@l_sysconfdir@";
c = strchr(path_to_config, PATHS_DELIMITER);