version 1.57 | | version 1.58 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.57 2004/12/25 18:09:29 ryo_saeba Exp $"; | | * "$Id: c_wiz.c,v 1.58 2005/03/06 20:38:54 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
while(fgets(line_buf, 160, dmfile) != NULL) { | | while(fgets(line_buf, 160, dmfile) != NULL) { |
if (line_buf[0]=='#') continue; | | if (line_buf[0]=='#') continue; |
if (sscanf(line_buf,"%[^:]:%[^:]:%s\n",name, passwd, host)!=3) { | | if (sscanf(line_buf,"%[^:]:%[^:]:%s\n",name, passwd, host)!=3) { |
LOG(llevError,"Warning - malformed dm file entry: %s", line_buf); | | LOG(llevError,"Warning - malformed dm file entry: %s\n", line_buf); |
} | | } |
else if ((!strcmp(name,"*") || (pl_name && !strcmp(pl_name, name))) | | else if ((!strcmp(name,"*") || (pl_name && !strcmp(pl_name, name))) |
&& (!strcmp(passwd,"*") || !strcmp(passwd,pl_passwd)) && | | && (!strcmp(passwd,"*") || !strcmp(passwd,pl_passwd)) && |