Unverified Commit 929d7697 authored by Kristof Szabados's avatar Kristof Szabados Committed by GitHub
Browse files

Merge pull request #132 from izaingrid/master

minor formatting for port
parents 537c396d e5f32f05
...@@ -200,10 +200,10 @@ static char *generate_send_mapping(char *src, const port_def *pdef, ...@@ -200,10 +200,10 @@ static char *generate_send_mapping(char *src, const port_def *pdef,
if (has_condition) { if (has_condition) {
if (!pdef->legacy && pdef->port_type == USER) { if (!pdef->legacy && pdef->port_type == USER) {
src = mputstr(src, "if (port_state != PARTIALLY_TRANSLATED) {\n"); src = mputstr(src, "if (port_state != PARTIALLY_TRANSLATED) {\n");
} src = mputstr(src, "return;\n");
src = mputstr(src, "return;\n"); src = mputstr(src, "}\n");
if (!pdef->legacy && pdef->port_type == USER) { } else {
src = mputstr(src, "}\n"); src = mputstr(src, "return;\n");
} }
if (pdef->legacy) { if (pdef->legacy) {
src = mputstr(src, "}\n"); src = mputstr(src, "}\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment