This always points at a string literal, so it probably should be 'const'.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 26 Jan 2002 06:28:50 +0000 (06:28 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 26 Jan 2002 06:28:50 +0000 (06:28 +0000)
source/include/passdb.h

index 178b3a435925a96f89edbef2220f9979a5645343..071ebdbfe55688bf50c110b0fba6b124f7be7fb2 100644 (file)
@@ -59,7 +59,7 @@ typedef struct pdb_context
 
 typedef struct pdb_methods 
 {
-       char *name; /* What name got this module */
+       const char *name; /* What name got this module */
 
        BOOL (*setsampwent)(struct pdb_context *, BOOL update);