aboutsummaryrefslogtreecommitdiff
path: root/src/lib/kadm5/str_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/kadm5/str_conv.c')
-rw-r--r--src/lib/kadm5/str_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kadm5/str_conv.c b/src/lib/kadm5/str_conv.c
index 7ffcc8e..c35d515 100644
--- a/src/lib/kadm5/str_conv.c
+++ b/src/lib/kadm5/str_conv.c
@@ -188,7 +188,7 @@ krb5_flags_to_string(flags, sep, buffer, buflen)
pflags |= flags_table[i].fl_flags;
}
}
- if (krb5int_buf_cstr(&buf) == NULL)
+ if (krb5int_buf_data(&buf) == NULL)
return(ENOMEM);
/* See if there's any leftovers */