version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.22 2002/07/18 05:59:17 mwedel Exp $"; | | * "$Id: c_wiz.c,v 1.23 2002/09/07 22:08:07 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*pl_name=op->name?op->name:"*"; | | *pl_name=op->name?op->name:"*"; |
#endif | | #endif |
| | |
sprintf (buf, "%s/%s", settings.datadir, DMFILE); | | sprintf (buf, "%s/%s", settings.confdir, DMFILE); |
if ((dmfile = fopen(buf, "r")) == NULL) { | | if ((dmfile = fopen(buf, "r")) == NULL) { |
LOG (llevDebug, "Could not find DM file.\n"); | | LOG (llevDebug, "Could not find DM file.\n"); |
return(0); | | return(0); |
| | |
{ | | { |
char buf[MAX_BUF]; | | char buf[MAX_BUF]; |
| | |
strcpy(buf,DATADIR); | | strcpy(buf,LIBDIR); |
strcat(buf,"/plugins/"); | | strcat(buf,"/plugins/"); |
strcat(buf,params); | | strcat(buf,params); |
printf("Requested plugin file is %s\n", buf); | | printf("Requested plugin file is %s\n", buf); |