about summary refs log tree commit diff stats
path: root/log.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-02-12 22:10:30 +0000
committerJames Booth <boothj5@gmail.com>2012-02-12 22:10:30 +0000
commitaf467928711057ef9d13d17f88576d24d44d4ee5 (patch)
tree92793e27f602f2d3fe05dd2d70ab9b4da38d99e7 /log.c
parent7aa1d931a0e5578b7f7e3cc526b72031a3d8f8eb (diff)
downloadprofani-tty-af467928711057ef9d13d17f88576d24d44d4ee5.tar.gz
Moved XMPP logging to jabber.c
Diffstat (limited to 'log.c')
-rw-r--r--log.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/log.c b/log.c
index 94489bea..d38d9bec 100644
--- a/log.c
+++ b/log.c
@@ -1,26 +1,9 @@
 #include <stdio.h>
-#include <strophe/strophe.h>
 
 #include "log.h"
 
 extern FILE *logp;
 
-void xmpp_file_logger(void * const userdata, const xmpp_log_level_t level,
-    const char * const area, const char * const msg);
-
-static const xmpp_log_t file_log = { &xmpp_file_logger, XMPP_LEVEL_DEBUG };
-
-xmpp_log_t *xmpp_get_file_logger()
-{
-    return (xmpp_log_t*) &file_log;
-}
-
-void xmpp_file_logger(void * const userdata, const xmpp_log_level_t level,
-    const char * const area, const char * const msg)
-{
-    log_msg(area, msg);
-}
-
 void log_msg(const char * const area, const char * const msg)
 {
     fprintf(logp, "%s DEBUG: %s\n", area, msg);