Skip to content

Commit

Permalink
Fixes for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Aug 26, 2014
1 parent 57bdaa3 commit 4537900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/include/realms.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ int realms_init(CONF_SECTION *config);
void realms_free(void);
REALM *realm_find(char const *name); /* name is from a packet */
REALM *realm_find2(char const *name); /* ... with name taken from realm_find */
void realm_home_server_sanitize( home_server_t *home, CONF_SECTION *cs);
void realm_home_server_sanitize(home_server_t *home, CONF_SECTION *cs);
int realm_home_server_add(home_server_t *home, CONF_SECTION *cs, int dual);
int realm_pool_add(home_pool_t *pool, CONF_SECTION *cs);
int realm_realm_add( REALM *r, CONF_SECTION *cs);
Expand Down
3 changes: 1 addition & 2 deletions src/main/realms.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void realm_home_server_sanitize(home_server_t *home, CONF_SECTION *cs)
{
CONF_SECTION *parent = NULL;

FR_INTEGER_BOUND_CHECK("max_outstanding", home->max_outstanding, >=, 8);
FR_INTEGER_BOUND_CHECK("max_outstanding", home->max_outstanding, >=, 8);
FR_INTEGER_BOUND_CHECK("max_outstanding", home->max_outstanding, <=, 65536*16);

FR_INTEGER_BOUND_CHECK("ping_interval", home->ping_interval, >=, 6);
Expand Down Expand Up @@ -702,7 +702,6 @@ static int home_server_add(realm_config_t *rc, CONF_SECTION *cs)
int realm_home_server_add(home_server_t *home, CONF_SECTION *cs, int dual)
{
const char *name2 = home->name;
CONF_SECTION *parent = NULL;

/*
* The structs aren't mutex protected. Refuse to destroy
Expand Down

0 comments on commit 4537900

Please sign in to comment.