svn rev #24426: trunk/src/include/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Oct 5 12:39:59 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24426
Commit By: ghudson
Log Message:
Constify the name field of a kadm5_hook vtable, since it holds a
string literal.



Changed Files:
U   trunk/src/include/krb5/kadm5_hook_plugin.h
Modified: trunk/src/include/krb5/kadm5_hook_plugin.h
===================================================================
--- trunk/src/include/krb5/kadm5_hook_plugin.h	2010-10-05 16:00:23 UTC (rev 24425)
+++ trunk/src/include/krb5/kadm5_hook_plugin.h	2010-10-05 16:39:59 UTC (rev 24426)
@@ -96,7 +96,7 @@
 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




More information about the cvs-krb5 mailing list