diff options
Diffstat (limited to 'ktalkd/ktalkd/repairs.c')
-rw-r--r-- | ktalkd/ktalkd/repairs.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |