summaryrefslogtreecommitdiff
path: root/usr/src/lib/libldap5/sources/ldap/common/getdn.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2018-02-23 13:01:53 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2018-02-23 13:01:53 +0000
commitb7718c339dde99eb2f4bf2e8a4cdabfc3acf9d6c (patch)
tree92d313f21c843f56ef4dd64594a4f51ccd82804c /usr/src/lib/libldap5/sources/ldap/common/getdn.c
parent4f5bbb4c37e2dca7b0722f89c8dfe13be1fbc131 (diff)
parentcf421650297f304644a9fe84c51540de5823fe84 (diff)
downloadillumos-joyent-b7718c339dde99eb2f4bf2e8a4cdabfc3acf9d6c.tar.gz
[illumos-gate merge]
commit cf421650297f304644a9fe84c51540de5823fe84 9160 libtecla: this statement may fall through commit 38a641c5970af3d16902370fb738a6792620e1bf 9155 pkcs11: this statement may fall through commit d7fdecd2374114124f192b3bfc84d2d294bb45ab 9154 libldap5: this statement may fall through commit e10a6edabdc38e5fd1d9da6a6a54774a41f91b22 9152 loader: allow comma in variable names commit e501678557789347eedf20b9e0f9a5014f56f18d 9151 libdhcputil: this statement may fall through commit 48122e8f03678c2b5a9cea6e9c4d4d2629c5a13f 9148 sun_sas: this statement may fall through commit 69b2e41e53282c11528827637e627614e2af615b 9147 sun_sas: comparison between pointer and zero character constant commit 59ee40951f56cfa1c0e6c5c6aeea10605267116a 9138 libcurses: this statement may fall through
Diffstat (limited to 'usr/src/lib/libldap5/sources/ldap/common/getdn.c')
-rw-r--r--usr/src/lib/libldap5/sources/ldap/common/getdn.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr/src/lib/libldap5/sources/ldap/common/getdn.c b/usr/src/lib/libldap5/sources/ldap/common/getdn.c
index 4ab49eef28..db3b93de06 100644
--- a/usr/src/lib/libldap5/sources/ldap/common/getdn.c
+++ b/usr/src/lib/libldap5/sources/ldap/common/getdn.c
@@ -3,8 +3,6 @@
* All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
@@ -34,12 +32,6 @@
* getdn.c
*/
-#if 0
-#ifndef lint
-static char copyright[] = "@(#) Copyright (c) 1990 Regents of the University of Michigan.\nAll rights reserved.\n";
-#endif
-#endif
-
#include "ldap-int.h"
char *
@@ -238,6 +230,7 @@ ldap_explode( const char *dn, const int notypes, const int nametype )
state = INQUOTE;
break;
case '+': if ( nametype != LDAP_RDN ) break;
+ /* FALLTHROUGH */
case ';':
case ',':
case '\0':
@@ -323,7 +316,7 @@ ldap_explode( const char *dn, const int notypes, const int nametype )
if ( state == OUTQUOTE ) {
goteq = 1;
}
- /* FALL */
+ /* FALLTHROUGH */
default:
plen = LDAP_UTF8LEN(p);
break;