aboutsummaryrefslogtreecommitdiffstats
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan2013-04-08 13:02:31 +0000
committerokan2013-04-08 13:02:31 +0000
commitd1eadb2523343593a8cb47dd42ac971712168710 (patch)
tree8daa0f4722581ecb30c810f369f1f162d02b1cda /kbfunc.c
parent08db9c49019f52bc15fdaccb43fe0d1d75d91a47 (diff)
downloadcwm-d1eadb2523343593a8cb47dd42ac971712168710.tar.gz
consistency
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 73676a1..8923c04 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: kbfunc.c,v 1.76 2013/01/08 15:16:05 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.77 2013/04/08 13:02:31 okan Exp $
*/
#include <sys/param.h>
@@ -335,6 +335,7 @@ kbfunc_ssh(struct client_ctx *cc, union arg *arg)
}
TAILQ_INIT(&menuq);
+
lbuf = NULL;
while ((buf = fgetln(fp, &len))) {
if (buf[len - 1] == '\n')