From 3b9837fb065528b81b4af99a2248b12b8ff56a20 Mon Sep 17 00:00:00 2001
From: burneykb <burneykb@iastate.edu>
Date: Sun, 26 Mar 2017 17:47:11 -0500
Subject: [PATCH] fixed nameing issues

---
 groundStation/src/cli/cli.c       | 2 +-
 groundStation/src/cli/cli_nodes.c | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/groundStation/src/cli/cli.c b/groundStation/src/cli/cli.c
index 070c972e1..e9829185e 100644
--- a/groundStation/src/cli/cli.c
+++ b/groundStation/src/cli/cli.c
@@ -231,6 +231,6 @@ int convert_to_id(struct backend_conn * conn, char **argv, struct convert_data *
 			}
 		}
 	}
-	frontend_free_nodedata(search_data, num_nodes);
+	frontend_free_node_data(search_data, num_nodes);
 	return search_2;
 }
\ No newline at end of file
diff --git a/groundStation/src/cli/cli_nodes.c b/groundStation/src/cli/cli_nodes.c
index 412cff2b0..555e2e71d 100644
--- a/groundStation/src/cli/cli_nodes.c
+++ b/groundStation/src/cli/cli_nodes.c
@@ -49,28 +49,25 @@ int cli_getnodes(struct backend_conn * conn, int argc, char ** argv) {
 		
 		const struct graph_node_type * node_definition = blockDefs[node_data[i].type];
 		printf(" {");
-
 		for(n = 0; n < (size_t)node_definition->n_inputs; ++n) {
 			printf(" %-5s ", node_definition->input_names[n]);
 		}
 		printf("} ");
 
 		printf(" {");
-
 		for(n = 0; n < (size_t)node_definition->n_params; ++n) {
 			printf(" %s ", node_definition->param_names[n]);
 		}
 		printf("} ");
-
+		
 		printf(" {");
-
 		for(n = 0; n < (size_t)node_definition->n_outputs; ++n) {
 			printf(" %s ", node_definition->output_names[n]);
 		}
 		printf("}\n");
 	}
 
-	frontend_free_nodedata(node_data, num_nodes);	
+	frontend_free_node_data(node_data, num_nodes);	
 	return 0;
 }
 
-- 
GitLab