From 1ba2a45b7b57bdbbcbed179267ae4ea779461ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 22 Mar 2009 17:22:20 +0000 Subject: [PATCH] ep not use, don't increment git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24913 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/wind/idn-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wind/idn-lookup.c b/lib/wind/idn-lookup.c index 9c0db113f..bcf0e8a9b 100644 --- a/lib/wind/idn-lookup.c +++ b/lib/wind/idn-lookup.c @@ -102,7 +102,7 @@ lookup(const char *name) *ep++ = '.'; i = j; } - *ep++ = '\0'; + *ep = '\0'; free(norm); printf("Converted \"%s\" into \"%s\"\n", name, encoded);