summaryrefslogtreecommitdiff
path: root/lib/ZCkAuth.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:39:30 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:39:30 +0000
commit5bbdaaf2b5b6c3dee89279bd8a045148a39f6385 (patch)
tree2e2c602680b563b4068c8fb718369891a52ea913 /lib/ZCkAuth.c
parenta418b69cbced2ce64bf55796fdb890026233e65e (diff)
cleanup various warnings from gcc -Wall
Diffstat (limited to 'lib/ZCkAuth.c')
-rw-r--r--lib/ZCkAuth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZCkAuth.c b/lib/ZCkAuth.c
index 418335e..a851463 100644
--- a/lib/ZCkAuth.c
+++ b/lib/ZCkAuth.c
@@ -11,7 +11,7 @@
*/
#ifndef lint
-static char rcsid_ZCheckAuthentication_c[] =
+static const char rcsid_ZCheckAuthentication_c[] =
"$Zephyr: /mit/zephyr/src/lib/RCS/ZCheckAuthentication.c,v 1.14 89/03/24 14:17:38 jtkohl Exp Locker: raeburn $";
#endif
@@ -63,6 +63,6 @@ ZCheckAuthentication(ZNotice_t *notice,
/* if mismatched checksum, then the packet was corrupted */
return ((our_checksum == notice->z_checksum) ? ZAUTH_YES : ZAUTH_FAILED);
#else
- ZCheckZcodeAuthentication(notice, from);
+ return ZCheckZcodeAuthentication(notice, from);
#endif
}