/*
- * $Id: file.c,v 1.59 2002-09-11 03:03:27 didg Exp $
+ * $Id: file.c,v 1.60 2002-09-29 23:31:24 sibaz Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
u_int16_t attrbits = 0;
int rc;
#ifdef DEBUG
- LOG(log_info, logtype_default, "begin getfilparams:");
+ LOG(log_info, logtype_afpd, "begin getfilparams:");
#endif /* DEBUG */
upath = mtoupath(vol, path);
/*
- * $Id: mangle.c,v 1.9 2002-08-14 17:49:13 jmarcus Exp $
+ * $Id: mangle.c,v 1.10 2002-09-29 23:31:24 sibaz Exp $
*
* Copyright (c) 2002. Joe Marcus Clarke (marcus@marcuscom.com)
* All Rights Reserved. See COPYRIGHT.
/* Is this really a mangled file? */
mangle = strstr(mfilename, MANGLE_CHAR);
if (!mangle) {
- LOG(log_debug, logtype_default, "demangle: %s is not a mangled filename", mfilename);
+ LOG(log_debug, logtype_afpd, "demangle: %s is not a mangled filename", mfilename);
return mfilename;
}
ext_len = strlen(ext);
}
if (strlen(mangle) != strlen(MANGLE_CHAR) + MANGLE_LENGTH + ext_len) {
- LOG(log_error, logtype_default, "demangle: %s is not long enough to be a mangled filename", mfilename);
+ LOG(log_error, logtype_afpd, "demangle: %s is not long enough to be a mangled filename", mfilename);
return mfilename;
}
/* No unmangled filename was found. */
if (filename == NULL) {
- LOG(log_error, logtype_default, "demangle: Unable to lookup %s in the mangle database", mfilename);
+ LOG(log_error, logtype_afpd, "demangle: Unable to lookup %s in the mangle database", mfilename);
return mfilename;
}
}
else {
if (++mangle_suffix_int > MAX_MANGLE_SUFFIX_LENGTH) {
- LOG(log_error, logtype_default, "mangle: Failed to find a free mangle suffix; returning original filename");
+ LOG(log_error, logtype_afpd, "mangle: Failed to find a free mangle suffix; returning original filename");
return filename;
}
}
/*
- * $Id: volume.c,v 1.35 2002-09-29 18:44:16 didg Exp $
+ * $Id: volume.c,v 1.36 2002-09-29 23:31:24 sibaz Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
char *val;
val = strchr(tmp, ':');
+ LOG(log_debug, logtype_afpd, "Parsing volset %s", val);
+
if (optionok(tmp, "allow:", val)) {
if (options[VOLOPT_ALLOW].c_value)
free(options[VOLOPT_ALLOW].c_value);