The string class returns string::npos, when find() fails.
authorJeff Garzik <jeff@garzik.org>
Sun, 15 Apr 2012 20:47:24 +0000 (16:47 -0400)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 17 Apr 2012 18:50:26 +0000 (14:50 -0400)
commitef2f3ddaf764f886fbb4d6004844fe88b8029cf2
treec88e3f921d90c4a1453039a7e28714b55809d67e
parent1175d8f6a1782da777f406a8400b7281a7af09e7
The string class returns string::npos, when find() fails.

Noticed when sign-comparison warnings were enabled.
src/irc.cpp
src/net.cpp
src/rpc.cpp