/* get pam service name used in pam config file */
serviceNameInConf=GetConfValue("AuthServer/ServiceName");
+ /* if not defined in conf, use the default name 'opengate' */
if(isNull(serviceNameInConf)){
strlcpy(serviceName, PAMSERVICENAME, ADDRMAXLN);
}else{
if(!userid || !passwd) return DENY;
- /* set userInfo which is passed to call back function */
+ /* set userInfo which is passed to call-back function */
userInfo.userid=userid;
userInfo.password=passwd;