1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
$NetBSD: patch-bb,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
--- yatd/message.c.orig Fri Jun 8 16:29:24 2001
+++ yatd/message.c
@@ -9,10 +9,10 @@
*/
#ifdef STDC_HEADERS
-int Msg2Cli(int stat, CONST char * pFmt, ...)
+int Msg2Cli(int status, CONST char * pFmt, ...)
#else
-int Msg2Cli(stat, pFmt, va_alist)
- int stat;
+int Msg2Cli(status, pFmt, va_alist)
+ int status;
CONST char * pFmt;
va_dcl
#endif
@@ -33,7 +33,7 @@
if (feof(stdout) || ferror(stdout))
SysData.Flags.errCliIO = 1;
- strcpy(szMsg, stat==SUCCESS ? ANS_POSITIVE : ANS_NEGATIVE);
+ strcpy(szMsg, status==SUCCESS ? ANS_POSITIVE : ANS_NEGATIVE);
p = index(szMsg, '\0');
*p++ = ' ';
*p = '\0';
@@ -89,7 +89,7 @@
else
LogNOTICE("<<<NO CONNECTION>>> %.512s", szMsg);
va_end(ap);
- return stat;
+ return status;
}
/*
|