krb5 commit: Pass empty string instead of NULL to printf-like

Benjamin Kaduk kaduk at MIT.EDU
Tue Jul 3 00:43:53 EDT 2012


https://github.com/krb5/krb5/commit/e8d1c9c2a2c4f47d62780146eba87fb0b1235142
commit e8d1c9c2a2c4f47d62780146eba87fb0b1235142
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Wed Jun 27 19:10:16 2012 -0400

    Pass empty string instead of NULL to printf-like

 src/tests/misc/test_chpw_message.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tests/misc/test_chpw_message.c b/src/tests/misc/test_chpw_message.c
index bf3169a..aef96b1 100644
--- a/src/tests/misc/test_chpw_message.c
+++ b/src/tests/misc/test_chpw_message.c
@@ -96,7 +96,7 @@ static void
 check(krb5_error_code code)
 {
     if (code != 0) {
-        com_err("t_vfy_increds", code, NULL);
+        com_err("t_vfy_increds", code, "");
         abort();
     }
 }


More information about the cvs-krb5 mailing list