aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.c
diff options
context:
space:
mode:
Diffstat (limited to 'odmr.c')
-rw-r--r--odmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/odmr.c b/odmr.c
index a20d89f1..907e0092 100644
--- a/odmr.c
+++ b/odmr.c
@@ -138,7 +138,7 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id,
* instead, we'll use select(2) to watch the read sides of both
* sockets and just throw their data at each other.
*/
- if ((smtp_sock = smtp_open(ctl)) == -1)
+ if ((smtp_sock = smtp_setup(ctl)) == -1)
return(PS_SOCKET);
else
{