| CODENOTIFIER | HelpYou are not signed inSign in |
Project: ejabberd
Revision: 1562
Author: badlop
Date: 12 Sep 2008 10:31:04
Changes:Fix: provide the port as an integer, not string (EJAB-560)
Files:| ... | ...@@ -276,11 +276,11 @@ | |
| 276 | 276 | {gen_tcp, []} -> |
| 277 | 277 | {Host, 80, http}; |
| 278 | 278 | {gen_tcp, [Port]} -> |
| 279 | {Host, Port, http}; | |
| 279 | {Host, list_to_integer(Port), http}; | |
| 280 | 280 | {tls, []} -> |
| 281 | 281 | {Host, 443, https}; |
| 282 | 282 | {tls, [Port]} -> |
| 283 | {Host, Port, https} | |
| 283 | {Host, list_to_integer(Port), https} | |
| 284 | 284 | end. |
| 285 | 285 | |
| 286 | 286 | %% XXX bard: search through request handlers looking for one that |