Our corporate customers use their full email address to fetch their mail with another POP agent. To keep convention, we configure our normal ISP customers to use "[EMAIL PROTECTED]", or "[EMAIL PROTECTED]" for the rare mail clients which balk at "[EMAIL PROTECTED]@popserver".

In trim_domain(), in pop_user.c, I replace the line:

char *r = strchr ( q, '@' );

with,

char *r = strpbrk ( q, "@%" );

Is the library function, strpbrk() common enough to use in a future releases instead of strchr()? Is it worth making this very minor change to the source when I upgrade, or is it save to assume my clients are using smarter email clients nowadays?

- SteveP


Reply via email to