From 4db95549c283ee8d90024ce2cbf642159964a77e Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Wed, 26 Sep 2012 12:56:00 +0200 Subject: [PATCH] vpcd: fixed prototype of sendall --- virtualsmartcard/src/vpcd/vpcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualsmartcard/src/vpcd/vpcd.c b/virtualsmartcard/src/vpcd/vpcd.c index 02c82cd..376e6ee 100644 --- a/virtualsmartcard/src/vpcd/vpcd.c +++ b/virtualsmartcard/src/vpcd/vpcd.c @@ -40,7 +40,7 @@ static int client_sock = -1; ssize_t sendToVICC(size_t size, const unsigned char *buffer); ssize_t recvFromVICC(unsigned char **buffer); -static int sendall(int sock, const void *buffer, size_t size); +static ssize_t sendall(int sock, const void *buffer, size_t size); static ssize_t recvall(int sock, void *buffer, size_t size); static int opensock(unsigned short port);