summaryrefslogtreecommitdiffstats
path: root/tdeioslave/pop3/pop3.cc
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:30:19 -0600
commit90f1f50f00651f7bc9f8acf50556968b4288400d (patch)
tree8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /tdeioslave/pop3/pop3.cc
parent1c37295608c6d783b2b710f423befbcfb0068bbd (diff)
downloadtdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz
tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
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) {