From: Ezra Peisach Date: Tue, 5 Jun 2001 16:27:38 +0000 (+0000) Subject: * client.c (main): Missing arguments to printf fixed X-Git-Tag: krb5-1.3-alpha1~1485 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a31215ddb2adce61131da5eeebf1a701bb19f81;p=krb5.git * client.c (main): Missing arguments to printf fixed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 6ccd0c2fc..702a083f2 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,7 @@ +2001-06-05 Ezra Peisach + + * client.c (main): Missing arguments to printf fixed. + 2001-04-24 Ezra Peisach * client.c (main): Ensure that end of string is NULL terminated diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c index e2405cf14..1c3e9c3dd 100644 --- a/src/lib/rpc/unit-test/client.c +++ b/src/lib/rpc/unit-test/client.c @@ -5,6 +5,9 @@ * $Source$ * * $Log$ + * Revision 1.18 2001/06/05 16:27:38 epeisach + * * client.c (main): Missing arguments to printf fixed. + * * Revision 1.17 2001/04/24 17:05:34 epeisach * * client.c (main): Ensure that end of string is NULL terminated * instead of assuming buffer initialized to 0. Include @@ -133,6 +136,7 @@ static void usage() exit(1); } +int main(argc, argv) int argc; char **argv; @@ -230,7 +234,7 @@ main(argc, argv) if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_ECHO call %d response wrong: " - "arg = %s, resp = %s\n", echo_arg, *echo_resp); + "arg = %s, resp = %s\n", i, echo_arg, *echo_resp); gssrpc_xdr_free(xdr_wrapstring, echo_resp); } @@ -336,7 +340,7 @@ main(argc, argv) if (strncmp(*echo_resp, "Echo: ", 6) && strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, - "RPC_TEST_LENGTHS call %d response wrong\n"); + "RPC_TEST_LENGTHS call %d response wrong\n", i); gssrpc_xdr_free(xdr_wrapstring, echo_resp); }