From: Tomas Mudrunka Date: Wed, 4 Nov 2015 22:41:16 +0000 (+0100) Subject: Disabled workaround for 64b, it may be fixed now. Let me know in case of regression. X-Git-Url: http://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=commitdiff_plain;h=5d3f875eda2b9f045d5313cf904058925c2d82f3;ds=sidebyside Disabled workaround for 64b, it may be fixed now. Let me know in case of regression. --- diff --git a/answerscripts.c b/answerscripts.c index 0ad50d7..ebbaa1f 100755 --- a/answerscripts.c +++ b/answerscripts.c @@ -248,12 +248,12 @@ static PurplePluginInfo info = { static void init_plugin(PurplePlugin * plugin) { //Export static environment variables - #ifndef __x86_64__ //Workaround for x86_64 (where this causes problems for unknown reason) + //#ifndef __x86_64__ //Workaround for x86_64 (where this causes problems for unknown reason) const char * core_ui = check_null(purple_core_get_ui()); const char * core_version = check_null(purple_core_get_version()); setenv(ENV_PREFIX "L_AGENT", (char *) core_ui, 1); //ID of IM client used with answerscripts setenv(ENV_PREFIX "L_AGENT_VERSION", (char *) core_version, 1); //Version of client - #endif + //#endif } PURPLE_INIT_PLUGIN(autoanswer, init_plugin, info)