|
From: CVS C. to T. <the...@li...> - 2017-01-15 12:03:27
|
Revision: 735
http://sourceforge.net/p/themis/code/735
Author: mark_hellegers
Date: 2017-01-15 12:03:24 +0000 (Sun, 15 Jan 2017)
Log Message:
-----------
Simplify handling of unloading of cache plugin
Modified Paths:
--------------
trunk/themis/modules/http/httpv4.cpp
Modified: trunk/themis/modules/http/httpv4.cpp
===================================================================
--- trunk/themis/modules/http/httpv4.cpp 2016-11-12 15:53:35 UTC (rev 734)
+++ trunk/themis/modules/http/httpv4.cpp 2017-01-15 12:03:24 UTC (rev 735)
@@ -890,17 +890,13 @@
}break;
case PlugInUnLoaded:
{
- PlugClass *plugin_object=NULL;
- msg->FindPointer("plugin",(void**)&plugin_object);
- if (plugin_object!=NULL)
+ int32 plugID;
+ msg->FindInt32("plugid", &plugID);
+ if (plugID == 'cash')
{
- if (plugin_object->PlugID()=='cash')
- {
- cache_user_token=0;
- CacheSystem=NULL;
- Debug("Cache System was just unloaded. I'm useless without it!");
-
- }
+ cache_user_token=0;
+ CacheSystem=NULL;
+ Debug("Cache System was just unloaded. I'm useless without it!");
}
status=B_OK;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|