You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2014/05/20 01:11:39 UTC

[jira] [Updated] (TS-2640) Does _TSAssert() really have to return an int (always 0) ?

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

Bryan Call updated TS-2640:
---------------------------

    Fix Version/s:     (was: sometime)
                   5.1.0

> Does _TSAssert() really have to return an int (always 0) ?
> ----------------------------------------------------------
>
>                 Key: TS-2640
>                 URL: https://issues.apache.org/jira/browse/TS-2640
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: TS API
>            Reporter: Leif Hedstrom
>              Labels: api-change
>             Fix For: 5.1.0
>
>
> I don't know why, but we have
> {code}
> _TSAssert(const char *text, const char *file, int line)
> {
>   _ink_assert(text, file, line);
>   return 0;
> }
> {code}
> Why the return 0 ?



--
This message was sent by Atlassian JIRA
(v6.2#6252)