hello.c online example doc -------------------------- Key: AXIS2C-1253 URL: https://issues.apache.org/jira/browse/AXIS2C-1253 Project: Axis2-C Issue Type: Task Environment: axis2c-bin-1.5.0-win32 Reporter: b v j Priority: Trivial
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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]