lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit fc030b7c032b9d3e862b3e79ea6327b05b77e501
parent b221c4ba76229494036ba4d633a3c90769b94e9e
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 22 Jan 2022 13:54:06 -0800

fix uninitialized timeout

Diffstat:
Mrpc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rpc.c b/rpc.c @@ -22,7 +22,7 @@ int main(int argc, const char *argv[]) u8 *buf; struct lnsocket *ln; fd_set set; - struct timeval timeout; + struct timeval timeout = {0}; char *timeout_str; u16 len, msgtype;