* client.c (main): Missing arguments to printf fixed
authorEzra Peisach <epeisach@mit.edu>
Tue, 5 Jun 2001 16:27:38 +0000 (16:27 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 5 Jun 2001 16:27:38 +0000 (16:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/unit-test/ChangeLog
src/lib/rpc/unit-test/client.c

index 6ccd0c2fc32f717609597ccf6b138bc58d001a52..702a083f25a3a05586005b627f8189acc8afd109 100644 (file)
@@ -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
index e2405cf148ade3e95c5e0c34361793c7bfdc10f6..1c3e9c3ddc8b40988233cb4d3ff597b1a12ec01c 100644 (file)
@@ -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);
          }