Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-456

Bad IP address string in test/cpp/src/main.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.5
    • Test Suite
    • None

    Description

      This file contains the line:

      shared_ptr<TSocket> socket(new TSocket("127.0.01", port));

      which has an invalid IP address string. It should be changed to:

      shared_ptr<TSocket> socket(new TSocket("127.0.0.1", port));

      In its current state, this causes the test to get a runtime error.

      Attachments

        1. patch.txt
          0.7 kB
          Rush Manbert

        Activity

          People

            rush Rush Manbert
            rush Rush Manbert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: