summaryrefslogtreecommitdiffstats
path: root/ktalkd
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
commit008eae43da364c9a910416652cf277c4ef5895c9 (patch)
tree5f9060ce2395120f3ce327d444b035a6ece978a4 /ktalkd
parent2bc02dc6e21b9f38a76c6733a0931c7ebc944547 (diff)
downloadtdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.tar.gz
tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'ktalkd')
-rw-r--r--ktalkd/ktalkd/proto.h4
-rw-r--r--ktalkd/ktalkd/repairs.c10
-rw-r--r--ktalkd/mail.local/mail.local.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/ktalkd/ktalkd/proto.h b/ktalkd/ktalkd/proto.h
index c9285ebb..59fce430 100644
--- a/ktalkd/ktalkd/proto.h
+++ b/ktalkd/ktalkd/proto.h
@@ -37,8 +37,8 @@ extern "C" {
/* quirks for repairs.c */
-#define TQUIRK_NONE 0
-#define TQUIRK_OTALK 1
+#define QUIRK_NONE 0
+#define QUIRK_OTALK 1
struct sockaddr_in;
diff --git a/ktalkd/ktalkd/repairs.c b/ktalkd/ktalkd/repairs.c
index 2379f3bf..9473a473 100644
--- a/ktalkd/ktalkd/repairs.c
+++ b/ktalkd/ktalkd/repairs.c
@@ -140,7 +140,7 @@ static int probe_otalk_packet(char *buf, size_t len, size_t maxlen,
struct otalk_packet otp;
CTL_MSG m;
- ktalk_debug("Probing for TQUIRK_OTALK\n");
+ ktalk_debug("Probing for QUIRK_OTALK\n");
if (sizeof(otp)!=OTALK_PACKET_SIZE) {
syslog(LOG_ERR, "QUIRK_OTALK: struct otalk_packet padding "
@@ -256,8 +256,8 @@ rationalize_packet(char *buf, size_t len, size_t mlen, struct sockaddr_in *sn)
ktalk_debug("Malformed packet (length %u)\n", len);
if (probe_otalk_packet(buf, len, mlen, sn)==0) {
- ktalk_debug("Using TQUIRK_OTALK\n");
- return TQUIRK_OTALK;
+ ktalk_debug("Using QUIRK_OTALK\n");
+ return QUIRK_OTALK;
}
return -1;
}
@@ -266,8 +266,8 @@ size_t
irrationalize_reply(char *buf, size_t maxlen, int quirk)
{
switch (quirk) {
- case TQUIRK_NONE: return sizeof(CTL_RESPONSE);
- case TQUIRK_OTALK: return do_otalk_reply(buf, maxlen);
+ case QUIRK_NONE: return sizeof(CTL_RESPONSE);
+ case QUIRK_OTALK: return do_otalk_reply(buf, maxlen);
}
/* ? */
return 0;
diff --git a/ktalkd/mail.local/mail.local.c b/ktalkd/mail.local/mail.local.c
index c72b4d1f..9c90d272 100644
--- a/ktalkd/mail.local/mail.local.c
+++ b/ktalkd/mail.local/mail.local.c
@@ -754,8 +754,8 @@ e_to_sys(num)
#ifdef EAGAIN
case EAGAIN: /* Resource temporarily unavailable */
#endif
-#ifdef EDTQUOT
- case EDTQUOT: /* Disc quota exceeded */
+#ifdef EDQUOT
+ case EDQUOT: /* Disc quota exceeded */
#endif
#ifdef EBUSY
case EBUSY: /* Device busy */