dont increment nhost since its no longer used

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24852 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-27 03:29:58 +00:00
parent d17aa3e8fe
commit c2c1e95ccf

View File

@@ -946,7 +946,7 @@ gethostlist(krb5_context context, const char *realm,
return ENOMEM;
}
}
(*hostlist)[nhost++] = NULL;
(*hostlist)[nhost] = NULL;
krb5_krbhst_free(context, handle);
return 0;
}