aboutsummaryrefslogtreecommitdiffstats
path: root/libglouglou
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-04 13:13:11 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-04 13:13:11 +0100
commit7235d6442d40b9a747634afe069dafc78fcdf256 (patch)
tree6da91cab8e8a1dec2a379653cd17640ed64da4f2 /libglouglou
parentTODO++, many of them (diff)
downloadglouglou-7235d6442d40b9a747634afe069dafc78fcdf256.tar.xz
glouglou-7235d6442d40b9a747634afe069dafc78fcdf256.zip
fix print debug text
Diffstat (limited to 'libglouglou')
-rw-r--r--libglouglou/libggnet.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libglouglou/libggnet.c b/libglouglou/libggnet.c
index c3a82ea..548793b 100644
--- a/libglouglou/libggnet.c
+++ b/libglouglou/libggnet.c
@@ -30,7 +30,7 @@ ggnet_node_add(struct ggnet *net, struct in_addr *addr)
{
struct ggnet_node *n;
- gg_log_debug("user: ggnet_node_add");
+ gg_log_debug("ggnet_node_add");
n = xcalloc(1, sizeof(struct ggnet_node));
n->addr.s_addr = addr->s_addr;
@@ -46,8 +46,8 @@ void
ggnet_node_del(struct ggnet *net, struct ggnet_node *n)
{
if (n->used)
- gg_log_fatal("user: trying to remove a used node !");
- gg_log_debug("user: ggnet_node_del");
+ gg_log_fatal("ggnet_node_del: trying to remove a used node !");
+ gg_log_debug("ggnet_node_del: ggnet_node_del");
LIST_REMOVE(n, entry);
free(n->name);
@@ -75,10 +75,10 @@ ggnet_conn_add(struct ggnet *net, struct in_addr *src, int src_port,
struct ggnet_node *dstnode;
int id;
- gg_log_debug("user: ggnet_conn_add, %x:%d->%x:%d %d [%d]",
+ gg_log_debug("ggnet_conn_add, %x:%d->%x:%d %d [%d]",
src->s_addr, src_port, dst->s_addr, dst_port, proto, size);
if (net->conn_freeids_ptr == GGNET_CONN_FREEIDS_COUNT) {
- gg_log_warn("user: out of connection identifiers !");
+ gg_log_warn("ggnet_conn_add: out of connection identifiers !");
return NULL;
}
@@ -112,7 +112,7 @@ ggnet_conn_add(struct ggnet *net, struct in_addr *src, int src_port,
void
ggnet_conn_data(struct ggnet *net, struct ggnet_conn *c, int size, int response)
{
- gg_log_debug("user: ggnet_conn_data");
+ gg_log_debug("ggnet_conn_data");
c->lastseen = net->time;
}
@@ -120,7 +120,7 @@ ggnet_conn_data(struct ggnet *net, struct ggnet_conn *c, int size, int response)
void
ggnet_conn_del(struct ggnet *net, struct ggnet_conn *c)
{
- gg_log_debug("user: ggnet_conn_del");
+ gg_log_debug("ggnet_conn_del");
if (c->proto == IPPROTO_TCP) {
switch (c->state) {