> firstname.lastname@example.org writes: >> In the actual code, dlm is initialized to NULL. Therefore, dlml will get >> initialized to NULL > > Only initialized when dml is NULL, but the test > 'if ( dlml != NULL )' below is unconditional. Then dlml goes > out of scope, it doesn't keep the value between iterations. Should be fixed now, thanks. Please test. p.