From 8920d9975293259ecd89df42a49f6614ab60b6f6 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Mon, 15 Oct 2007 19:01:09 -0400 Subject: [PATCH] Fixed pwmd_connect() not setting 'error' to 0 when successful. --- libpwmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libpwmd.c b/libpwmd.c index 824d7426..398c5447 100644 --- a/libpwmd.c +++ b/libpwmd.c @@ -161,6 +161,7 @@ pwm_t *pwmd_connect(const char *path, gpg_error_t *error) #endif time(&now); srandom(now); + *error = 0; return pwm; } -- 2.11.4.GIT