Hi all,
i have a big program with stralloc variable.
So, in qmail-pop3d i declared a variable:
stralloc *arrayname;
arrayname = (stralloc *) alloc(numm * sizeof(stralloc))
with numm as number of message.
When i try to do a stralloc_copys(&arrayname[i], "hello"), qmail-pop3d
exit with a "segmentation fault".
The strange thing is that i get this error only when numm is great than
25.I thought ...may be a memory problem....or most probably i'm not a
really good c programmer.
Thanks for all your suggest
Federico.