projects
/
crackpop.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use poplib constants for default ports
[crackpop.git]
/
crackpop.py
diff --git
a/crackpop.py
b/crackpop.py
index
850b13f
..
b032da6
100755
(executable)
--- a/
crackpop.py
+++ b/
crackpop.py
@@
-79,7
+79,7
@@
def option_parser():
parser.add_argument(
'-P', '--port', metavar="<port>",
parser.add_argument(
'-P', '--port', metavar="<port>",
- dest='port', default=
110
,
+ dest='port', default=
poplib.POP3_PORT
,
help='the port the pop3 server is listening on')
parser.add_argument(
help='the port the pop3 server is listening on')
parser.add_argument(
@@
-104,7
+104,7
@@
def option_parser():
parser.add_argument(
'-S', '--ssl-port', metavar="<ssl_port>",
parser.add_argument(
'-S', '--ssl-port', metavar="<ssl_port>",
- dest='ssl_port', default=
995
,
+ dest='ssl_port', default=
poplib.POP3_SSL_PORT
,
help='the port the SSL pop3 server is listening on')
return parser
help='the port the SSL pop3 server is listening on')
return parser