You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2014/08/02 00:07:38 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 ]

Alan M. Carroll updated TS-2640:
--------------------------------

    Fix Version/s:     (was: 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
>
> 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)