28:1ecc1183f046 | 29:3fc287f06305 |
---|---|
59 | 59 |
60 static char* nl_strdup(const char* s) { | 60 static char* nl_strdup(const char* s) { |
61 return s ? strdup(s) : NULL; | 61 return s ? strdup(s) : NULL; |
62 } | 62 } |
63 | 63 |
64 static int* copy_groups(int* groups, size_t *ngroups) { | 64 static int* copy_groups(const int* groups, size_t *ngroups) { |
65 *ngroups = 0; | 65 *ngroups = 0; |
66 if (!groups) { | 66 if (!groups) { |
67 return NULL; | 67 return NULL; |
68 } | 68 } |
69 | 69 |