diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-09-23 21:46:12 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-09-23 21:46:12 +0000 |
commit | ef05efb0c1cfb734437b55ec5f8390c2fb19a5ed (patch) | |
tree | f7844f845697f2d5468ea82c8b1f1af929f84ca9 /src/kim/lib/kim_string.c | |
parent | b756a048a181f266a22d1bcf043e10369d39cd78 (diff) | |
download | krb5-ef05efb0c1cfb734437b55ec5f8390c2fb19a5ed.tar.gz krb5-ef05efb0c1cfb734437b55ec5f8390c2fb19a5ed.tar.xz krb5-ef05efb0c1cfb734437b55ec5f8390c2fb19a5ed.zip |
Renamed error handling files to reflect what they do now.
Moved GUI code into OS-specific directory.
Fixed bugs in cache collection iterator routines where it was mishandling
the magic empty ccache created when the cache collection is empty.
ticket: 6055
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20747 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kim/lib/kim_string.c')
-rw-r--r-- | src/kim/lib/kim_string.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kim/lib/kim_string.c b/src/kim/lib/kim_string.c index 6968f19d9..2dc284c93 100644 --- a/src/kim/lib/kim_string.c +++ b/src/kim/lib/kim_string.c @@ -114,6 +114,14 @@ kim_error kim_string_create_from_buffer (kim_string *out_string, /* ------------------------------------------------------------------------ */ +kim_error kim_string_create_for_last_error (kim_string *out_string, + kim_error in_error) +{ + return kim_string_copy (out_string, kim_error_message (in_error)); +} + +/* ------------------------------------------------------------------------ */ + kim_error kim_string_copy (kim_string *out_string, kim_string in_string) { |