You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2010/03/23 23:51:27 UTC
[jira] Commented: (TS-271) Change the return values of the APIs to
be consistent for "success"
[ https://issues.apache.org/jira/browse/TS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848948#action_12848948 ]
Bryan Call commented on TS-271:
-------------------------------
Right now some APIs return INK_SUCCESS (value of 0) for success and some APIs return the integer value of 1.
For example:
INKCacheKeyGet() does a "return INK_SUCCESS;"
INKHttpTxnConnectTimeoutSet() does a "return 1;"
Here is the typedef for INKReturnCode:
typedef enum
{
INK_ERROR = -1,
INK_SUCCESS = 0
} INKReturnCode;
> Change the return values of the APIs to be consistent for "success"
> -------------------------------------------------------------------
>
> Key: TS-271
> URL: https://issues.apache.org/jira/browse/TS-271
> Project: Traffic Server
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Bryan Call
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.