Skip to content

Commit

Permalink
Added some additional header files to header.h, removed unused variab…
Browse files Browse the repository at this point in the history
…les from main
  • Loading branch information
Kevin-P-Kerr committed Jun 15, 2012
1 parent f3454cc commit 7346b1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions http_server/src/header.h
Expand Up @@ -5,6 +5,9 @@
#define OTHER 130
#define HTML 131
#define JS 132
#include <sys/socket.h>
#include <sys.stat.h>
#include <netinet/in.h>
#include "dbg.h"
// declare structs
struct table {
Expand Down
2 changes: 1 addition & 1 deletion http_server/src/main.c
Expand Up @@ -22,7 +22,7 @@ int main(int argc, char *argv[]) {
} c("ALL TESTS PASSED"); */
//fprintf(stderr, "Tests run: %d\n", tests_run);
char *progname=argv[0];
int sockfd, newsockfd, portno, clilen, n, pid, epollfd;
int sockfd, newsockfd, clilen, epollfd;
struct sockaddr_in serv_addr, cli_addr;
initFt();
clilen = 0;
Expand Down

0 comments on commit 7346b1d

Please sign in to comment.