From 21a372e534d23f2ee719bccdf2a895a6b58abf8b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 18 Sep 1997 07:25:06 +0000 Subject: [PATCH] support ; for comments for compatability with MIT git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3503 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/config_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/config_file.c b/lib/krb5/config_file.c index da781edb1..db715b222 100644 --- a/lib/krb5/config_file.c +++ b/lib/krb5/config_file.c @@ -229,7 +229,7 @@ parse_list(FILE *f, unsigned *lineno, krb5_config_binding **parent) if (buf[strlen(buf) - 1] == '\n') buf[strlen(buf) - 1] = '\0'; p = buf; - if (*p == '#') + if (*p == '#' || *p == ';') continue; while(isspace(*p)) ++p; @@ -309,7 +309,7 @@ krb5_config_parse_file (const char *fname, krb5_config_section **res) if(buf[strlen(buf) - 1] == '\n') buf[strlen(buf) - 1] = '\0'; p = buf; - if (*p == '#') + if (*p == '#' || *p == ';') continue; while(isspace(*p)) ++p;