are you sure that the nickname field is 100 bytes?
Why do you use strncpy(d,s,100 ) why not
strncpy(d,s, sizeof(d))
Other than that, hard to tell without seeing the data types and declarations.
Might want to post on a C programming board.
--- On Thu, 9/4/08, kogure <[EMAIL PROTECTED]
"kogure" <[EMAIL PROTECTED]> wrote
in message news:[EMAIL PROTECTED]
> Hello everyone. I have a database with fields not required to be
> filled in (the other fields are declared NOT NULL). When I have a
> record with the non-required fields empty, and copied it to my
> structure, there is a memory
2 matches
Mail list logo