summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-10 15:34:19 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-06-10 15:34:19 -0400
commitcd01310f5f0ef8626e745956d93e3ef5b6becb3d (patch)
tree473dfe49e93d95de61dbe9e17a5ec79faea381ab /src/map.c
parentd3e13a3d5315fc79637bca98ba2e9b9be6e98c8c (diff)
- fail to provide the order for secure maps to not-secure clients
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index ad4c5df..77cdd49 100644
--- a/src/map.c
+++ b/src/map.c
@@ -346,13 +346,14 @@ map_master_name(struct plugin_state *state, const char **master)
* decrease. */
bool_t
map_order(struct plugin_state *state,
- const char *domain_name, const char *map_name,
+ const char *domain_name, const char *map_name, bool_t *map_secure,
unsigned int *order)
{
struct map *map;
map = map_data_find_map(state, domain_name, map_name);
if (map != NULL) {
*order = map->last_changed & 0xffffffff;
+ *map_secure = map->secure;
return TRUE;
} else {
return FALSE;