From bbf62ffff81089ae1ef74d4e1927710af982799b Mon Sep 17 00:00:00 2001 From: Nathan Straz Date: Thu, 1 Aug 2013 04:21:38 -0400 Subject: Convert packet parsing --- qarsh_packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qarsh_packet.h') diff --git a/qarsh_packet.h b/qarsh_packet.h index 516c4fd..ec391c3 100644 --- a/qarsh_packet.h +++ b/qarsh_packet.h @@ -129,7 +129,7 @@ struct qa_packet { /* Prototypes */ char *qp_packet_type(enum qa_packet_type t); -struct qa_packet *parse_packets(char *buf, int n); +struct qa_packet *parse_packet(char *buf, int buflen); struct qa_packet *make_qp_hello(char *greeting); struct qa_packet *make_qp_returncode(int rc, int eno, char *strerr); struct qa_packet *make_qp_ack(enum qa_packet_type t, int i); -- cgit