summaryrefslogtreecommitdiff
path: root/src/tcp.c
diff options
context:
space:
mode:
authorDaniel Dressler <danieru.dressler@gmail.com>2014-06-16 16:35:44 -0600
committerDaniel Dressler <danieru.dressler@gmail.com>2014-06-16 16:35:44 -0600
commit33c0fb3910cee1501c96ef39536cc712f2b5833c (patch)
tree39e39141200957e4011965558733680895eb0827 /src/tcp.c
parent0dd4b7733f451d0fdd74575e5d42abf8ff182e44 (diff)
Unify packet's method names
Diffstat (limited to 'src/tcp.c')
-rw-r--r--src/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp.c b/src/tcp.c
index 1f967da..3930484 100644
--- a/src/tcp.c
+++ b/src/tcp.c
@@ -110,7 +110,7 @@ struct http_packet_t *tcp_packet_get(struct tcp_conn_t *tcp, struct http_message
// Assemble packet
pkt->filled_size = size_read;
- enum http_request_t type = sniff_request_type(pkt);
+ enum http_request_t type = packet_find_type(pkt);
if (type == HTTP_HEADER_ONLY)
msg->is_completed = 1;