On Sun, Sep 22, 2002 at 06:15:08PM +0100, challenger wrote:
> Now my next problem. This line is out of /var/log/maildir:
> 
> Sep 22 18:47:24 server1 pop3d: LOGIN,user=moretti^M,ip=[::ffff:X.X.X.X]
> 
> I've already recognized this "^M" before I got all the above problems
> solved. Where does it come from? Somehow I expect const char *user to
> be the username as entered by the user without any specials chars...
> The same thing applies to const char *pass. Well, I can crop this char
> in my auth code, but then again I think, there is something not
> working properly.

^M is a newline (or carriage return - I forget which it is).  You're
reading it in.  Just look for it and overwrite it with a null.

-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to