[EMAIL PROTECTED]:
> void    recipient_list_add(RECIPIENT_LIST *list, long offset,
>                                  const char *dsn_orcpt, int dsn_notify,
>                                  const char *orig_rcpt, const char *rcpt)

You can't change the rcpt argument.

> {
>     int     new_avail;
> 
>       //MODIFIED SOURCE
> 
>       char **host; int  *port;
>       char * userName;
>       //Here we filter the RECIPIENT ADDRESS and we do a lookup by using P2P
> daemon.
>       userName = strtok(rcpt,"@");

What if the result is a null pointer?

>       if (getAddress((char *)rcpt,(char **)&host,(int *)&port) == 0) {
>               strcat(userName,"@");

You are changing the rcpt argument.

        Wietse

Reply via email to