1diff -Naur tnftpd-20100324/src/conf.c tnftpd/src/conf.c
2--- tnftpd-20100324/src/conf.c	2009-11-06 19:26:48.000000000 -0800
3+++ tnftpd/src/conf.c	2011-12-22 14:35:42.000000000 -0800
4@@ -181,7 +181,13 @@
5 		
6 		NEXTWORD(p, word);
7 		NEXTWORD(p, class);
8-		NEXTWORD(p, arg);
9+		
10+		if (strcasecmp(word, "chroot") == 0 ||
11+		    strcasecmp(word, "homedir") == 0)
12+			arg = p;
13+		else
14+			NEXTWORD(p, arg);
15+
16 		if (EMPTYSTR(word) || EMPTYSTR(class))
17 			continue;
18 		if (strcasecmp(class, "none") == 0)
19