]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
return rather than exit from main
authorMark Andrews <marka@isc.org>
Fri, 26 Sep 2008 01:31:19 +0000 (01:31 +0000)
committerMark Andrews <marka@isc.org>
Fri, 26 Sep 2008 01:31:19 +0000 (01:31 +0000)
bin/tests/nsec3hash.c

index 287330f92680618a7640234d57cb5fce5cdb356b..4a4a782e299dfa88df973361c62133d3e3934e06 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsec3hash.c,v 1.3 2008/09/25 04:02:38 tbox Exp $ */
+/* $Id: nsec3hash.c,v 1.4 2008/09/26 01:31:19 marka Exp $ */
 
 #include <config.h>
 
@@ -113,5 +113,5 @@ main(int argc, char **argv) {
        isc_base32hex_totext(&region, 1, "", &buffer);
        fprintf(stdout, "%.*s (salt=%s, hash=%u, iterations=%u)\n",
                (int)isc_buffer_usedlength(&buffer), text, argv[1], hash_alg, iterations);
-       exit(0);
+       return(0);
 }