Thread: My shmem utils
View Single Post
Old 09-28-2003, 02:22 PM  
Posse Member
Join Date: Dec 2002
Posts: 1,956

little thing u might wanna add to your getOnlineUser() function:

sometimes, the userid in the returned LPDC_ONLINEDATA structure is -1... that happens when the user is login in. you should return false then, or io will crash when u'll try to convert that invalid uid to a username later on...

was crashing ioftpd with that in ioBMonitor.
Mouton is offline