cmd.c
changeset 18 887d772326a0
parent 17 e26e6692b0d5
child 19 4524cdff923f
--- a/cmd.c	Thu Mar 25 20:46:44 2010 +0200
+++ b/cmd.c	Tue Mar 30 22:14:29 2010 +0300
@@ -23,6 +23,7 @@
 #include <glib.h>
 #include <unistd.h>
 #include <errno.h>
+#include <string.h>
 
 #include <mcabber/commands.h>
 #include <mcabber/logprint.h>
@@ -32,6 +33,7 @@
 #include <mcabber/xmpp.h>
 #include <mcabber/roster.h>
 #include <mcabber/modules.h>
+#include <mcabber/hooks.h>
 
 #include "config.h"
 
@@ -159,7 +161,6 @@
 					gsize     len     = 0;
 					gchar    *bbuf    = NULL;
 					gchar    *subject = NULL;
-					gboolean  ret;
 
 					if (written - sent > HBB_BLOCKSIZE) {
 						gchar *c = utf8 + sent + HBB_BLOCKSIZE;