(mu_auth_data_alloc): Fixed COPY macro.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -82,9 +82,9 @@ mu_auth_data_alloc (struct mu_auth_data **ptr, | ... | @@ -82,9 +82,9 @@ mu_auth_data_alloc (struct mu_auth_data **ptr, |
82 | p = (char *)(*ptr + 1); | 82 | p = (char *)(*ptr + 1); |
83 | 83 | ||
84 | #define COPY(f) \ | 84 | #define COPY(f) \ |
85 | (*ptr)->##f = p; \ | 85 | (*ptr)->f = p; \ |
86 | strcpy (p, ##f); \ | 86 | strcpy (p, f); \ |
87 | p += strlen (##f) + 1 | 87 | p += strlen (f) + 1 |
88 | 88 | ||
89 | COPY (name); | 89 | COPY (name); |
90 | COPY (passwd); | 90 | COPY (passwd); | ... | ... |
-
Please register or sign in to post a comment