]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
recommend exit(EXIT_SUCCESS) instead of exit(SUCCES)
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 00:40:15 +0000 (17:40 -0700)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 14 Apr 2022 00:40:15 +0000 (17:40 -0700)
In addition to being misspelled, the form without the EXIT_ prefix
doesn't appear anywhere else in the codebase.

doc/CodingStyle

index a326e5c3f9995151b106ae46039fe88e6c2f6166..693fdd31c72dcf0cce453ebb6eab2fa4ac0d4c90 100644 (file)
@@ -60,5 +60,5 @@ The libdns coding style guide
     arcount     = additional section count
 
 ldns-<tools>
-* use exit(EXIT_FAILURE)/ exit(SUCCES)
+* use exit(EXIT_FAILURE)/ exit(EXIT_SUCCESS)
 *