Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1253

hello.c online example doc

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.6.0
    • documentation
    • None
    • axis2c-bin-1.5.0-win32

    Description

      The following excerpt was taken from the online hello.c example html:

      http://ws.apache.org/axis2/c/docs/hello/client/hello.c.html

      client_home = AXIS2_GETENV("AXIS2C_HOME");
      if (!client_home && !strcmp(client_home, ""))
      client_home = "../..";

      The test should be an OR statement instead of an AND statement. Not necessary, but also simplified by removing strcmp:

      client_home = AXIS2_GETENV("AXIS2C_HOME");
      if (!client_home || !(*client_home))
      client_home = "../..";

      Attachments

        Activity

          People

            shankar Selvaratnam Uthaiyashankar
            bvj b v j
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: