- {
- char *ptr, *logtype, *loglevel, *filename;
-
- LOG(log_debug6, logtype_afpd, "unsetting up logtype, c is %s", c);
-
- ptr = c;
- logtype = ptr;
- if (ptr)
- {
- ptr = strpbrk(ptr, " \t");
- if (ptr)
- {
- *ptr++ = 0;
- while (*ptr && isspace(*ptr))
- ptr++;
- }
- }
-
- loglevel = ptr;
- if (ptr)
- {
- ptr = strpbrk(ptr, " \t");
- if (ptr)
- {
- *ptr++ = 0;
- while (*ptr && isspace(*ptr))
- ptr++;
- }
- }
-
- filename = ptr;
- if (ptr)
- {
- ptr = strpbrk(ptr, " \t");
- if (ptr)
- {
- *ptr++ = 0;
- while (*ptr && isspace(*ptr))
- ptr++;
- }
- }
-
- LOG(log_debug7, logtype_afpd, "calling setuplog %s %s %s",
- logtype, NULL, filename);