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,
if (has_condition) {
if (!pdef->legacy && pdef->port_type == USER) {
src = mputstr(src, "if (port_state != PARTIALLY_TRANSLATED) {\n");
}
src = mputstr(src, "return;\n");
if (!pdef->legacy && pdef->port_type == USER) {
src = mputstr(src, "}\n");
src = mputstr(src, "return;\n");
src = mputstr(src, "}\n");
} else {
src = mputstr(src, "return;\n");
}
if (pdef->legacy) {
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