diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-11 21:31:57 +0100 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-12-11 21:31:57 +0100 |
commit | 2dac45210dfc47f9cf762cb18fc7433794e6590e (patch) | |
tree | 5b09e3c13e35b85c3e2baca9f41f459e8904142a | |
parent | fix new connections encoding, they should never be responses (diff) | |
download | glouglou-2dac45210dfc47f9cf762cb18fc7433794e6590e.tar.xz glouglou-2dac45210dfc47f9cf762cb18fc7433794e6590e.zip |
better egraph blob size
Diffstat (limited to '')
-rw-r--r-- | gg_map/gg_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c index 7a08b28..516546e 100644 --- a/gg_map/gg_map.c +++ b/gg_map/gg_map.c @@ -113,7 +113,7 @@ _conn_data(int id, u_int8_t pktsize) { if (response) { tmp = a; a = b; b = tmp; } - size = log(size) * 2; + size = sqrt(size) / 2; color = (id * 0x98765400) % 0xFFFFFF00; egraph_vertice_send_blob(_egraph, a, b, size, color); } |