2 # ROS Reject common code
3 # Copyright 2007 Tomas Kukosa
7 const gchar *descr = "";
11 descr = wmem_strdup_printf(wmem_packet_scope(), "REJ: %s", problem_str);
13 if (actx->rose_ctx->apdu_depth >= 0)
14 proto_item_append_text(proto_item_get_parent_nth(proto_tree_get_parent(tree), actx->rose_ctx->apdu_depth), " %s", descr);
15 if (actx->rose_ctx->fillin_info)
16 col_append_str(actx->pinfo->cinfo, COL_INFO, descr);
17 if (actx->rose_ctx->fillin_ptr)
18 g_strlcat(actx->rose_ctx->fillin_ptr, descr, actx->rose_ctx->fillin_buf_size);