summaryrefslogtreecommitdiffstats
path: root/tdeioslave/pop3/pop3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/pop3/pop3.cc')
-rw-r--r--tdeioslave/pop3/pop3.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeioslave/pop3/pop3.cc b/tdeioslave/pop3/pop3.cc
index 4f85c409c..7d5f914ad 100644
--- a/tdeioslave/pop3/pop3.cc
+++ b/tdeioslave/pop3/pop3.cc
@@ -230,7 +230,7 @@ POP3Protocol::Resp POP3Protocol::getResponse(char *r_buf, unsigned int r_len,
if (strncmp(buf, "+OK", 3) == 0) {
if (r_buf && r_len) {
memcpy(r_buf, (buf[3] == ' ' ? buf + 4 : buf + 3),
- QMIN(r_len, (buf[3] == ' ' ? recv_len - 4 : recv_len - 3)));
+ TQMIN(r_len, (buf[3] == ' ' ? recv_len - 4 : recv_len - 3)));
}
delete[]buf;
@@ -239,7 +239,7 @@ POP3Protocol::Resp POP3Protocol::getResponse(char *r_buf, unsigned int r_len,
} else if (strncmp(buf, "-ERR", 4) == 0) {
if (r_buf && r_len) {
memcpy(r_buf, (buf[4] == ' ' ? buf + 5 : buf + 4),
- QMIN(r_len, (buf[4] == ' ' ? recv_len - 5 : recv_len - 4)));
+ TQMIN(r_len, (buf[4] == ' ' ? recv_len - 5 : recv_len - 4)));
}
TQString command = TQString::fromLatin1(cmd);
@@ -256,8 +256,8 @@ POP3Protocol::Resp POP3Protocol::getResponse(char *r_buf, unsigned int r_len,
return Err;
} else if (strncmp(buf, "+ ", 2) == 0) {
if (r_buf && r_len) {
- memcpy(r_buf, buf + 2, QMIN(r_len, recv_len - 4));
- r_buf[QMIN(r_len - 1, recv_len - 4)] = '\0';
+ memcpy(r_buf, buf + 2, TQMIN(r_len, recv_len - 4));
+ r_buf[TQMIN(r_len - 1, recv_len - 4)] = '\0';
}
delete[]buf;
@@ -267,7 +267,7 @@ POP3Protocol::Resp POP3Protocol::getResponse(char *r_buf, unsigned int r_len,
POP3_DEBUG << "Invalid POP3 response received!" << endl;
if (r_buf && r_len) {
- memcpy(r_buf, buf, QMIN(r_len, recv_len));
+ memcpy(r_buf, buf, TQMIN(r_len, recv_len));
}
if (!buf || !*buf) {