Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C-Web-Server - Pedro Montesinos #304

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

pedrolmr
Copy link

src/server.c Outdated
@@ -122,7 +119,7 @@ void resp_404(int fd)
// TODO: make this non-fatal
// fprintf(stderr, "cannot find system 404 file\n");
resp_404(fd);
exit(3);
return;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't you just leave the call to resp404(fd) since it calls return anyway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants