From: Ezra Peisach Date: Mon, 18 Sep 1995 09:09:28 +0000 (+0000) Subject: Initialize the service name to SAMPLE_SERVICE instead of leaving as NULL X-Git-Tag: krb5-1.0-beta6~1056 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=819c5dc266ddb969186493e4401c41eb2607ce08;p=krb5.git Initialize the service name to SAMPLE_SERVICE instead of leaving as NULL git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6808 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/sample/sclient/ChangeLog b/src/appl/sample/sclient/ChangeLog index 9bea74734..56b1c0868 100644 --- a/src/appl/sample/sclient/ChangeLog +++ b/src/appl/sample/sclient/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 18 05:05:48 1995 Ezra Peisach + + * sclient.c (main): Set the default service name to SAMPLE_SERVICE. + Sat Sep 16 03:40:41 1995 Theodore Y. Ts'o * sclient.c (main): Add an optional third argument which allows diff --git a/src/appl/sample/sclient/sclient.c b/src/appl/sample/sclient/sclient.c index f7fa222df..94e06766b 100644 --- a/src/appl/sample/sclient/sclient.c +++ b/src/appl/sample/sclient/sclient.c @@ -66,7 +66,7 @@ char *argv[]; krb5_ap_rep_enc_part *rep_ret; krb5_auth_context auth_context = 0; short xmitlen; - char *service = 0; + char *service = SAMPLE_SERVICE; if (argc != 2 && argc != 3 && argc != 4) { fprintf(stderr, "usage: %s [port] [service]\n",argv[0]);