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)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 15 Apr 2012 20:47:24 +0000 (16:47 -0400)
commitab9dc75a183c7a46e38e957ee3192d5febcccb3c
tree4af4074d5ef5859ce780af39f483cb02f5da5da2
parent5a701eb7ea16b87b56263996ee8e98ec89e2a3d8
The string class returns string::npos, when find() fails.

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