fprintf(f, "ServerRoot %s\n", PREFIX);
fprintf(f, "\n");
fprintf(f, "Set LoginDB %s/login.db\n", PREFIX);
- fprintf(f, "Set CookieDB %s/passwd.db\n", PREFIX);
+ fprintf(f, "Set CookieDB %s/cookie.db\n", PREFIX);
+ fprintf(f, "Set ProjectDB %s/project.db\n", PREFIX);
fprintf(f, "Set HTTPPort 1024\n");
fprintf(f, "Set HTTPRoot %s\n", WEBROOT_PREFIX);
fprintf(f, "Set HTMLManage %s/html-manage\n", TOOL_PREFIX);
int main(int argc, char** argv){
if(argc < 2){
- printf("invalid usage\n");
+ fprintf(stderr, "invalid usage\n");
+ return 1;
}
printf("%s\n", argv[1]);
}