summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/net/pop.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb
index 278b949395..2425f03693 100644
--- a/lib/net/pop.rb
+++ b/lib/net/pop.rb
@@ -748,8 +748,8 @@ module Net
def auth( account, password )
check_response_auth(critical {
- check_response_auth(get_response('USER ' + account))
- get_response('PASS ' + password)
+ check_response_auth(get_response('USER %s', account))
+ get_response('PASS %s', password)
})
end