You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by transitorykris <gi...@git.apache.org> on 2013/03/18 23:00:27 UTC
trafficserver pull request: Correct error handling for TSPluginRegister
GitHub user transitorykris opened a pull request:
https://github.com/apache/trafficserver/pull/8
Correct error handling for TSPluginRegister
typedef enum
{
TS_ERROR = -1,
TS_SUCCESS = 0
} TSReturnCode;
The original logic would log an error on TS_SUCCESS, and not log an error on TS_ERROR.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/transitorykris/trafficserver master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/8.patch
----
commit 404c3138334192feba1d7cef679e9d66ad5e00e1
Author: Kris Foster <kr...@opendns.com>
Date: 2013-03-18T21:56:24Z
Log an error if registration was not successful
----