aboutsummaryrefslogtreecommitdiffstats
path: root/otr.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-17 03:28:05 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-17 03:28:05 +0100
commit9e64011b1758bc9dbeddb517eff5eccbb0733674 (patch)
treead54fbee381f7f482f3cc63946aa22f42c64f909 /otr.c
parent59ab2afb144aaad7618fde69e81df40bc7241904 (diff)
fix an uninitialized value
Diffstat (limited to 'otr.c')
-rw-r--r--otr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otr.c b/otr.c
index 8d6f9839..dd3fc13e 100644
--- a/otr.c
+++ b/otr.c
@@ -768,6 +768,7 @@ void cmd_otr_info(irc_t *irc, char **args)
/* interpret arg as 'user/protocol/account' if possible */
protocol = strchr(arg, '/');
+ myhandle = NULL;
if(protocol) {
*(protocol++) = '\0';
myhandle = strchr(protocol, '/');