]> Pileus Git - ~andy/fetchmail/blobdiff - opie.c
Merge branch 'legacy_63'
[~andy/fetchmail] / opie.c
diff --git a/opie.c b/opie.c
index d3eabb9818d1e06841ad93eec54e7413abd40639..4b8ad4f3ead2ce5fc158f31c518ff218432f3abc 100644 (file)
--- a/opie.c
+++ b/opie.c
@@ -12,7 +12,7 @@
 #include  "fetchmail.h"
 #include  "socket.h"
 
-#include  "i18n.h"
+#include  "gettext.h"
 #include "fm_md5.h"
 
 #ifdef OPIE_ENABLE
@@ -43,7 +43,7 @@ int do_otp(int sock, const char *command, struct query *ctl)
 
     to64frombits(buffer, ctl->remotename, strlen(ctl->remotename));
        suppress_tags = TRUE;
-    gen_send(sock, buffer, sizeof(buffer));
+    gen_send(sock, "%s", buffer);
        suppress_tags = FALSE;
 
     if ((rval = gen_recv(sock, buffer, sizeof(buffer))))
@@ -70,7 +70,7 @@ int do_otp(int sock, const char *command, struct query *ctl)
 
     to64frombits(buffer, response, strlen(response));
     suppress_tags = TRUE;
-    gen_send(sock, buffer, strlen(buffer));
+    gen_send(sock, "%s", buffer);
     suppress_tags = FALSE;
 
     if ((rval = gen_recv(sock, buffer, sizeof(buffer))))