]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/md5.c
Fix Winsock-related warning and/or bugs.
[openldap] / libraries / liblutil / md5.c
index 03777b15d29848fa73604671f132e01f3593c831..6758de02409af77e40adb6296de2dcd71fac60a7 100644 (file)
@@ -1,3 +1,8 @@
+/* $OpenLDAP$ */
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 /*
  * Modified by Kurt D. Zeilenga for inclusion into OpenLDAP
  * I hereby disclaim copyright in any changes I have made; this
@@ -299,7 +304,7 @@ main (int  argc, char **argv )
        if (argc < 2)
        {
                fprintf (stderr, "usage: %s string-to-hash\n", argv[0]);
-               exit (1);
+               return EXIT_FAILURE;
        }
        for (j = 1; j < argc; ++j)
        {
@@ -313,6 +318,6 @@ main (int  argc, char **argv )
                }
                printf ("\n");
        }
-       return 0;
+       return EXIT_SUCCESS;
 }
 #endif /* TEST */