From: Tom Yu Date: Sat, 14 Feb 1998 02:29:44 +0000 (+0000) Subject: * client.c: Update header locations. Rename of xdr_free X-Git-Tag: krb5-1.1-beta1~825 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b3af2bd61c85465a156e9ac56f61474480d21c00;p=krb5.git * client.c: Update header locations. Rename of xdr_free * rpc_test.h: Update header locations. * server.c: Update header locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10448 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 97c763df4..e5be82ad1 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,11 @@ +Fri Feb 13 21:28:18 1998 Tom Yu + + * client.c: Update header locations. Rename of xdr_free. + + * rpc_test.h: Update header locations. + + * server.c: Update header locations. + Thu Feb 12 16:39:38 1998 Tom Yu * client.c (main): Tweak the kludge variable diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c index 224b065dc..b0e831704 100644 --- a/src/lib/rpc/unit-test/client.c +++ b/src/lib/rpc/unit-test/client.c @@ -5,6 +5,13 @@ * $Source$ * * $Log$ + * Revision 1.16 1998/02/14 02:29:42 tlyu + * * client.c: Update header locations. Rename of xdr_free. + * + * * rpc_test.h: Update header locations. + * + * * server.c: Update header locations. + * * Revision 1.15 1998/02/12 21:40:16 tlyu * * client.c (main): Tweak the kludge variable * krb5_gss_dbg_clietn_expcreds so we can send expired creds to the @@ -88,10 +95,10 @@ static char *rcsid = "$Header$"; #endif #include -#include +#include #include -#include -#include +#include +#include #include "rpc_test.h" #define BIG_BUF 4096 @@ -211,7 +218,7 @@ main(argc, argv) 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); - xdr_free(xdr_wrapstring, echo_resp); + gssrpc_xdr_free(xdr_wrapstring, echo_resp); } /* @@ -317,7 +324,7 @@ main(argc, argv) strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_LENGTHS call %d response wrong\n"); - xdr_free(xdr_wrapstring, echo_resp); + gssrpc_xdr_free(xdr_wrapstring, echo_resp); } /* cycle from 1 to 255 */ diff --git a/src/lib/rpc/unit-test/rpc_test.h b/src/lib/rpc/unit-test/rpc_test.h index 6e183e54c..bd53c06f9 100644 --- a/src/lib/rpc/unit-test/rpc_test.h +++ b/src/lib/rpc/unit-test/rpc_test.h @@ -1,7 +1,7 @@ #ifndef _RPC_TEST_H_RPCGEN #define _RPC_TEST_H_RPCGEN -#include +#include #define RPC_TEST_PROG ((unsigned long)(1000001)) #define RPC_TEST_VERS_1 ((unsigned long)(1)) diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c index f65379a9a..02537ff04 100644 --- a/src/lib/rpc/unit-test/server.c +++ b/src/lib/rpc/unit-test/server.c @@ -12,11 +12,11 @@ static char *rcsid = "$Header$"; #include #include #include -#include +#include #include /* inet_ntoa */ #include #include -#include +#include #include /* MAXHOSTNAMELEN */ #include "rpc_test.h"