Commit e5f32f05 authored by Farkas Ingrid's avatar Farkas Ingrid
Browse files

minor formatting for port


Signed-off-by: Farkas Ingrid's avatarizaingrid <farkas94ingi@gmail.com>
parent 537c396d
...@@ -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