Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Of course it should be bool.

I'm glad that the OP at least made it a const char *password though, since that's also a must-have. Always const input pointers. And local temporaries. And everything else that you can const, except scalar arguments pretty much.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: