svn rev #23116: trunk/src/include/

ghudson@MIT.EDU ghudson at MIT.EDU
Sun Nov 1 16:51:26 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23116
Commit By: ghudson
Log Message:
Un-constify struct errinfo's msg field because it is the owner of that
memory (even though the memory is intended to be immutable during its
lifetime).



Changed Files:
U   trunk/src/include/k5-err.h
Modified: trunk/src/include/k5-err.h
===================================================================
--- trunk/src/include/k5-err.h	2009-11-01 15:55:44 UTC (rev 23115)
+++ trunk/src/include/k5-err.h	2009-11-01 21:51:26 UTC (rev 23116)
@@ -46,7 +46,7 @@
 
 struct errinfo {
     long code;
-    const char *msg;
+    char *msg;
     char scratch_buf[1024];
 };
 




More information about the cvs-krb5 mailing list