aboutsummaryrefslogtreecommitdiffstats
path: root/otr.h
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-17 02:39:39 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-17 02:39:39 +0100
commitba5add72f824504a21eb780cae638c3ea2166ba0 (patch)
treedb16826012c15c1fe2b682a4f3b2d514d41d7aaf /otr.h
parentfd9fa52e0014459079444bd7bfff7a40eef4e27a (diff)
explicitly initialize ssl in order to avoid gnutls and libotr fighting over the global state of libgcrypt
Diffstat (limited to 'otr.h')
-rw-r--r--otr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/otr.h b/otr.h
index e5dddbb1..ca45c1e9 100644
--- a/otr.h
+++ b/otr.h
@@ -50,8 +50,8 @@ void cmd_otr(struct irc *, char **args);
/* representing a keygen job */
typedef struct kg {
- const char *accountname;
- const char *protocol;
+ char *accountname;
+ char *protocol;
struct kg *next;
} kg_t;
@@ -64,8 +64,8 @@ typedef struct otr {
FILE *from; /* pipe from keygen slave */
/* active keygen job (NULL if none) */
- const char *sent_accountname;
- const char *sent_protocol;
+ char *sent_accountname;
+ char *sent_protocol;
/* keygen jobs waiting to be sent to slave */
kg_t *todo;