Initialize the service name to SAMPLE_SERVICE instead of leaving as NULL
authorEzra Peisach <epeisach@mit.edu>
Mon, 18 Sep 1995 09:09:28 +0000 (09:09 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 18 Sep 1995 09:09:28 +0000 (09:09 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6808 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/sample/sclient/ChangeLog
src/appl/sample/sclient/sclient.c

index 9bea74734844ea4ec8a3393d9c1d24f1cd4bf0dd..56b1c086852cbefb13241d485f0b6a2539791f43 100644 (file)
@@ -1,3 +1,7 @@
+Mon Sep 18 05:05:48 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * sclient.c (main): Set the default service name to SAMPLE_SERVICE.
+
 Sat Sep 16 03:40:41 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * sclient.c (main): Add an optional third argument which allows
index f7fa222df3273cbad328b2acc2a33eeffee6bebf..94e06766b54f2f5d797414f08b3788112f33b923 100644 (file)
@@ -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 <hostname> [port] [service]\n",argv[0]);