You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2014/07/14 20:10:20 UTC

[05/11] git commit: TS-1475: added return in case Fatal does not bring down the system

TS-1475: added return in case Fatal does not bring down the system


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/bdcb06ab
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/bdcb06ab
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/bdcb06ab

Branch: refs/heads/master
Commit: bdcb06ab752499f940a3565e175ae2a872e339fd
Parents: 72892e2
Author: Justin Laue <ju...@fp-x.com>
Authored: Mon Jul 14 10:23:19 2014 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Mon Jul 14 12:09:57 2014 -0600

----------------------------------------------------------------------
 proxy/Plugin.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bdcb06ab/proxy/Plugin.cc
----------------------------------------------------------------------
diff --git a/proxy/Plugin.cc b/proxy/Plugin.cc
index 0d315b6..0a0be5d 100644
--- a/proxy/Plugin.cc
+++ b/proxy/Plugin.cc
@@ -132,6 +132,7 @@ plugin_load(int argc, char *argv[])
     init = (init_func_t) dll_findsym(handle, "TSPluginInit");
     if (!init) {
       Fatal("unable to find TSPluginInit function '%s': %s", path, dll_error(handle));
+      return; // this line won't get called since Fatal brings down ats
     }
 
     init(argc, argv);