Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-471

server.c needs refactoring around qd_connection_t allocation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • None
    • None

    Description

      Code snippet

          ctx = new_qd_connection_t();
          ctx->this_field = 0;
          ctx->that_field = 0;
          ...
      

      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.

      Attachments

        Activity

          People

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: