GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved some variables from global to local scope in order to fix github issue #5 and...
[mirrors/libpurple-core-answerscripts.git]
/
answerscripts.c
diff --git
a/answerscripts.c
b/answerscripts.c
index f84dcc6c00352f760948234b4080a2ab5abe9b24..ca1a412b9dc3c81f577871f09468185e620d95cf 100755
(executable)
--- a/
answerscripts.c
+++ b/
answerscripts.c
@@
-32,8
+32,6
@@
char *message = NULL;
char *hook_script = NULL;
char *message = NULL;
char *hook_script = NULL;
-char response[ANSWERSCRIPTS_LINE_LENGTH+1];
-int i;
typedef struct {
FILE *pipe;
typedef struct {
FILE *pipe;
@@
-41,6
+39,8
@@
typedef struct {
} answerscripts_job;
int answerscripts_process_message_cb(answerscripts_job *job) {
} answerscripts_job;
int answerscripts_process_message_cb(answerscripts_job *job) {
+ int i;
+ char response[ANSWERSCRIPTS_LINE_LENGTH+1];
FILE *pipe = job->pipe;
PurpleConversation *conv = job->conv;
FILE *pipe = job->pipe;
PurpleConversation *conv = job->conv;
This page took
0.088662 seconds
and
4
git commands to generate.