Skip to content
Browse files

Update admin/angel/cjdroute2.c

comma after the default autorizedPassword prevents the config from being valid JSON. This broke cjconf-print and all the utilities that relied on it.
  • Loading branch information...
1 parent b906b8c commit 202059a360fba24819e0df81b199ac74cfe7ce1b @inhies inhies committed Dec 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/angel/cjdroute2.c
View
2 admin/angel/cjdroute2.c
@@ -169,7 +169,7 @@ static int genconf(struct Random* rand)
" \"authorizedPasswords\":\n"
" [\n"
" // A unique string which is known to the client and server.\n"
- " {\"password\": \"%s\"},\n", password);
+ " {\"password\": \"%s\"}\n", password);
printf("\n"
" // More passwords should look like this.\n"
" // {\"password\": \"%s\"},\n", password2);

0 comments on commit 202059a

Please sign in to comment.
Something went wrong with that request. Please try again.