[
https://issues.apache.org/jira/browse/DISPATCH-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419556#comment-15419556
]
ASF subversion and git services commented on DISPATCH-471:
----------------------------------------------------------
Commit b391d0a176a8786d2b82ac7dc828aae1e2d047b7 in qpid-dispatch's branch
refs/heads/master from [~chug]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=b391d0a ]
DISPATCH-471: New connection allocator returns initialized object
DEQ fields and deferred call lock set up. Everything else zeroed.
> server.c needs refactoring around qd_connection_t allocation
> ------------------------------------------------------------
>
> Key: DISPATCH-471
> URL: https://issues.apache.org/jira/browse/DISPATCH-471
> Project: Qpid Dispatch
> Issue Type: Improvement
> Affects Versions: 0.6.0
> Reporter: Chuck Rolke
>
> Code snippet
> {noformat}
> ctx = new_qd_connection_t();
> ctx->this_field = 0;
> ctx->that_field = 0;
> ...
> {noformat}
> exists in three places. On ongoing code error is to add a new field and then
> not to initialize the field in all three places.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]