summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-15 15:44:52 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-15 15:44:52 +0200
commitfd91fc58c76dd385a657907b827a06ec09d54741 (patch)
tree316b0cceabf90665db7b22597d73ca7eb869c531 /lib
parent65b62d83ee72012d1171f1813b8f989f8805497c (diff)
Fix typo.
Diffstat (limited to 'lib')
-rw-r--r--lib/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tcp.c b/lib/tcp.c
index e2b1a2f..07bc109 100644
--- a/lib/tcp.c
+++ b/lib/tcp.c
@@ -58,7 +58,7 @@ _read_header (struct rs_packet *pkt)
else /* Error: libevent gave us less than the low watermark. */
{
rs_debug (("%s: got: %d octets reading header\n", __func__, n));
- rs_conn_disconnect (pkg->conn);
+ rs_conn_disconnect (pkt->conn);
return rs_err_conn_push_fl (pkt->conn, RSE_INTERNAL, __FILE__, __LINE__,
"got %d octets reading header", n);
}