ep not use, don't increment
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:20 +0000 (17:22 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:22:20 +0000 (17:22 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24913 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/wind/idn-lookup.c

index 9c0db113f43df166ced48b0c109832365b4c8714..bcf0e8a9b34ee74e5e41356df399c12f98773ee8 100644 (file)
@@ -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);