GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9615002
)
Added variables AGENT and AGENT_VERSION
author
Harvie
<tomas@mudrunka.cz>
Mon, 21 Feb 2011 03:05:32 +0000
(
04:05
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 21 Feb 2011 03:05:32 +0000
(
04:05
+0100)
answerscripts.c
patch
|
blob
|
blame
|
history
diff --git
a/answerscripts.c
b/answerscripts.c
index 81f20b293142cf83d26ddac80f9aa5c6396dbca9..d561c373743bea61cb133ac172a6b069a955c6ee 100755
(executable)
--- a/
answerscripts.c
+++ b/
answerscripts.c
@@
-194,7
+194,9
@@
static PurplePluginInfo info = {
};
static void init_plugin(PurplePlugin * plugin) {
};
static void init_plugin(PurplePlugin * plugin) {
-
+ //Export static environment variables
+ setenv(ENV_PREFIX "AGENT", (char *) purple_core_get_ui(), 1);
+ setenv(ENV_PREFIX "AGENT_VERSION", (char *) purple_core_get_version(), 1);
}
PURPLE_INIT_PLUGIN(autoanswer, init_plugin, info)
}
PURPLE_INIT_PLUGIN(autoanswer, init_plugin, info)
This page took
0.133406 seconds
and
4
git commands to generate.