summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2001-06-05 16:27:38 +0000
committerEzra Peisach <epeisach@mit.edu>2001-06-05 16:27:38 +0000
commit7a31215ddb2adce61131da5eeebf1a701bb19f81 (patch)
tree5a44044f636f35e7924456d17d84f0d002d71869 /src/lib
parent18254e84b8f63ccfeb2f673e4cebba2135a298c4 (diff)
* client.c (main): Missing arguments to printf fixed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/rpc/unit-test/ChangeLog4
-rw-r--r--src/lib/rpc/unit-test/client.c8
2 files changed, 10 insertions, 2 deletions
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 <epeisach@mit.edu>
+
+ * client.c (main): Missing arguments to printf fixed.
+
2001-04-24 Ezra Peisach <epeisach@mit.edu>
* 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 <string.h>
@@ -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);
}