Re: [Sofia-sip-devel] srand / rand win32 problem

2009-03-03 Thread Pekka Pessi
2009/3/2 Della Betta Filippo : >  I noticed that su_random implementation on windows is not working correctly > since srand() must be called per-thread (see > http://msdn.microsoft.com/en-us/library/f0d4wb4t.aspx). > I suggest a patch like that attached to overcome this issue on windows > system

[Sofia-sip-devel] srand / rand win32 problem

2009-03-02 Thread Della Betta Filippo
Dear Pekka, all I noticed that su_random implementation on windows is not working correctly since srand() must be called per-thread (see http://msdn.microsoft.com/en-us/library/f0d4wb4t.aspx). I suggest a patch like that attached to overcome this issue on windows systems. Thanks, Filippo Della B