port removed from handler struct.
This commit is contained in:
parent
bcf24d5fc9
commit
7b796e8c92
3
gild.h
3
gild.h
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_PATH "/usr/local/etc/gild/gild.conf"
|
#define CONFIG_PATH "/usr/local/etc/gild/gild.conf"
|
||||||
#define DEFAULT_PORT_NO 1984
|
#define DEFAULT_PORT_NO 8421
|
||||||
#define MAX_PENDING_REQUESTS 5
|
#define MAX_PENDING_REQUESTS 5
|
||||||
|
|
||||||
#define STDIN_FILENO 0
|
#define STDIN_FILENO 0
|
||||||
|
@ -43,7 +43,6 @@
|
||||||
typedef struct handler
|
typedef struct handler
|
||||||
{
|
{
|
||||||
struct handler * next; /* next one down the chain */
|
struct handler * next; /* next one down the chain */
|
||||||
int port; /* the port on which I listen */
|
|
||||||
char * protocol; /* a name for the protocol handled */
|
char * protocol; /* a name for the protocol handled */
|
||||||
regex_t * pattern; /* the pattern to match to select this
|
regex_t * pattern; /* the pattern to match to select this
|
||||||
handler */
|
handler */
|
||||||
|
|
Loading…
Reference in a new issue