git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c6ef76
)
lorikeet-heimdal: hdb_resolve() strrchr() instead of strchr()...
author
Stefan Metzmacher
<metze@samba.org>
Fri, 22 Aug 2008 09:47:23 +0000
(11:47 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 26 Mar 2009 08:54:50 +0000
(09:54 +0100)
metze
lib/hdb/keytab.c
patch
|
blob
|
history
diff --git
a/lib/hdb/keytab.c
b/lib/hdb/keytab.c
index 8232774a82ec2ab7ed5e298f995d7ab5cf5d59d5..f8e26da3117ab72266973429c33d7c98fa2a8ce8 100644
(file)
--- a/
lib/hdb/keytab.c
+++ b/
lib/hdb/keytab.c
@@
-59,7
+59,7
@@
hdb_resolve(krb5_context context, const char *name, krb5_keytab id)
return ENOMEM;
}
db = name;
- mkey = strchr(name, ':');
+ mkey = str
r
chr(name, ':');
if(mkey == NULL || mkey[1] == '\0') {
if(*name == '\0')
d->dbname = NULL;