Constify the name field of a kadm5_hook vtable, since it holds a
authorGreg Hudson <ghudson@mit.edu>
Tue, 5 Oct 2010 16:39:59 +0000 (16:39 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 5 Oct 2010 16:39:59 +0000 (16:39 +0000)
string literal.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24426 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kadm5_hook_plugin.h

index fda72464b3ca0ad744c304685c14cf71152a79d0..cca835338f5ae044a99cf7b0235f76030aceea46 100644 (file)
@@ -96,7 +96,7 @@ typedef struct kadm5_hook_modinfo_st kadm5_hook_modinfo;
 typedef struct kadm5_hook_vtable_1_st {
 
     /** A text string identifying the plugin for logging messages. */
-    char *name;
+    const char *name;
 
     /** Initialize a plugin module.
      * @param modinfo returns newly allocated module info for future