From: Eugene Crosser Date: Wed, 6 Nov 2013 20:47:30 +0000 (+0400) Subject: fix return code X-Git-Url: http://www.average.org/gitweb/?a=commitdiff_plain;ds=inline;h=0e1a2e8a78cb806312813c7c944660cdb63233b7;hp=9b697bd4732dad5e1d105623f3a4480a1e6b79f0;p=pam_pcsc_cr.git fix return code --- diff --git a/serial.c b/serial.c index 6bce59e..8debe3b 100644 --- a/serial.c +++ b/serial.c @@ -19,6 +19,7 @@ int serial_switch(serializer_t *srl, void *buffer, int size) srl->buffer = buffer; srl->bufsize = size; srl->cursor = buffer + used; + return 0; } int serial_put(serializer_t *srl, void *item, int size)