Formatting
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Sep 2014 16:25:33 +0000 (12:25 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 30 Sep 2014 16:31:16 +0000 (12:31 -0400)
src/main/map.c
src/main/modcall.c

index c18a14b..3d8d8d5 100644 (file)
@@ -468,14 +468,12 @@ int map_from_cs(CONF_SECTION *cs, value_pair_map_t **head,
                }
 
                if (!cf_item_is_pair(ci)) {
-                       cf_log_err(ci, "Entry is not in \"attribute = "
-                                      "value\" format");
+                       cf_log_err(ci, "Entry is not in \"attribute = value\" format");
                        goto error;
                }
 
                cp = cf_itemtopair(ci);
-               map = map_from_cp(ctx, cp, request_def, dst_list_def,
-                                   REQUEST_CURRENT, src_list_def);
+               map = map_from_cp(ctx, cp, request_def, dst_list_def, REQUEST_CURRENT, src_list_def);
                if (!map) {
                        goto error;
                }
index 2e9a597..f5690d3 100644 (file)
@@ -3235,7 +3235,7 @@ bool modcall_pass2(modcallable *mc)
 
                                g->vpt = tmpl_afrom_str(g->cs, this->name,
                                                        cf_section_name2_type(g->cs),
-                                                        REQUEST_CURRENT, PAIR_LIST_REQUEST);
+                                                       REQUEST_CURRENT, PAIR_LIST_REQUEST);
                                if (!g->vpt) {
                                        cf_log_err_cs(g->cs, "Syntax error in '%s': %s",
                                                      this->name, fr_strerror());
@@ -3270,8 +3270,8 @@ bool modcall_pass2(modcallable *mc)
                                value_pair_tmpl_t *vpt;
 
                                vpt = tmpl_afrom_str(g->cs, this->name,
-                                                     cf_section_name2_type(g->cs),
-                                                     REQUEST_CURRENT, PAIR_LIST_REQUEST);
+                                                    cf_section_name2_type(g->cs),
+                                                    REQUEST_CURRENT, PAIR_LIST_REQUEST);
                                if (vpt->type == TMPL_TYPE_ATTR) {
                                        talloc_free(g->vpt);
                                        g->vpt = vpt;