You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "S.Uthaiyashankar (JIRA)" <ji...@apache.org> on 2008/12/22 07:22:44 UTC

[jira] Updated: (AXIS2C-1253) hello.c online example doc

     [ https://issues.apache.org/jira/browse/AXIS2C-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar updated AXIS2C-1253:
-------------------------------------

      Component/s: documentation
    Fix Version/s: 1.6.0
         Assignee: S.Uthaiyashankar

> hello.c online example doc
> --------------------------
>
>                 Key: AXIS2C-1253
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1253
>             Project: Axis2-C
>          Issue Type: Task
>          Components: documentation
>         Environment: axis2c-bin-1.5.0-win32
>            Reporter: b v j
>            Assignee: S.Uthaiyashankar
>            Priority: Trivial
>             Fix For: 1.6.0
>
>
> 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 = "../..";

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.