1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Compile fixes for OSX

Also fixed github URL's to point to correct project.
This commit is contained in:
Thomas Davis
2014-06-26 17:38:05 -04:00
parent 724753a7da
commit 1461951d13
13 changed files with 26 additions and 21 deletions

View File

@@ -348,8 +348,10 @@ static void read_config_file(const char *config_file, char **options)
static void process_command_line_arguments(char *argv[], char **options)
{
char *p;
FILE *fp = NULL;
size_t i, cmd_line_opts_start = 1;
#ifdef CONFIG_FILE2
FILE *fp = NULL;
#endif
/* Should we use a config file ? */
if (argv[1] != NULL && argv[1][0] != '-') {