]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Should be map_prints
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 9 Sep 2014 23:35:12 +0000 (19:35 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 9 Sep 2014 23:35:12 +0000 (19:35 -0400)
src/include/map.h
src/main/map.c
src/main/modcall.c
src/main/parser.c

index 6b3f036f48db953a92eba0a7d934c19118d5f869..604482db1c4938fb00b9f62ebfb9033aa6daaea7 100644 (file)
@@ -82,7 +82,7 @@ int           map_to_request(REQUEST *request, value_pair_map_t const *map,
 
 bool           map_dst_valid(REQUEST *request, value_pair_map_t const *map);
 
-size_t         map_print(char *buffer, size_t bufsize, value_pair_map_t const *map);
+size_t         map_prints(char *buffer, size_t bufsize, value_pair_map_t const *map);
 
 void           map_debug_log(REQUEST *request, value_pair_map_t const *map,
                              VALUE_PAIR const *vp) CC_HINT(nonnull(1, 2));
index b43507275efcdb68fb551a3635f71504c206c276..d36e51e0c9b453c79ab4599193382e0de2429029 100644 (file)
@@ -1114,7 +1114,7 @@ bool map_dst_valid(REQUEST *request, value_pair_map_t const *map)
  * @param[in] map to print
  * @return the size of the string printed
  */
-size_t map_print(char *buffer, size_t bufsize, value_pair_map_t const *map)
+size_t map_prints(char *buffer, size_t bufsize, value_pair_map_t const *map)
 {
        size_t len;
        char *p = buffer;
index 47b71938cabbb9b2d308da66c50377a7d66bad0f..8cbd52d48ce3bce1224092be38c064c1983e65f9 100644 (file)
@@ -3490,7 +3490,7 @@ void modcall_debug(modcallable *mc, int depth)
                                group_name[this->type]);
 
                        for (map = g->map; map != NULL; map = map->next) {
-                               map_print(buffer, sizeof(buffer), map);
+                               map_prints(buffer, sizeof(buffer), map);
                                DEBUG("%.*s%s", depth + 1, modcall_spaces, buffer);
                        }
 
index a847500c70ce75848e260c764f82db30697ae226..6d86369ab3957458027e97084633f63a59bb40f9 100644 (file)
@@ -83,7 +83,7 @@ next:
                        p += len;
                }
 
-               len = map_print(p, end - p, c->data.map);
+               len = map_prints(p, end - p, c->data.map);
                p += len;
 #if 0
                *(p++) = ']';