summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-11-19 10:34:39 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-11-19 10:34:39 +0000
commit919065ace58e05c0abeb3aea4d6290430177d989 (patch)
treeb33609694ca2b63ab873bad3bbfe7edfa536a58c /clients
parent04c5375588977a23555482fa17b5fb07d5a31480 (diff)
Changed bzero to memset, rindex to strrchr [ANSI]
Diffstat (limited to 'clients')
-rw-r--r--clients/zpopnotify/zpopnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/zpopnotify/zpopnotify.c b/clients/zpopnotify/zpopnotify.c
index 747079a..ee298ad 100644
--- a/clients/zpopnotify/zpopnotify.c
+++ b/clients/zpopnotify/zpopnotify.c
@@ -70,7 +70,7 @@ main(argc,argv)
(void) strcat(mysender,ZGetRealm());
for (i = 1; i < argc; i++) {
- (void) _BZERO((char *)&notice, sizeof(notice));
+ (void) memset((char *)&notice, 0, sizeof(notice));
notice.z_kind = UNSAFE;
notice.z_class = MAIL_CLASS;
notice.z_class_inst = MAIL_INSTANCE;
@@ -79,7 +79,7 @@ main(argc,argv)
notice.z_default_format = "From Post Office $1:\n$2";
/* in case it's a mailbox name (pathname), strip to username */
- notice.z_recipient = (char *)rindex(argv[i],'/');
+ notice.z_recipient = (char *)strrchr(argv[i],'/');
if (notice.z_recipient)
notice.z_recipient++;
else