summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-11-19 10:39:06 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-11-19 10:39:06 +0000
commit1e794b73196445731fe56c3b5df2db3fe31fce84 (patch)
tree6914f0188546233eda8ee9db9ef35ad96296e14e /clients
parent5c82a5211392090f26480fb56111fe40d2bd745a (diff)
Change bzero/bcopy to memset/memcpy [ANSI]
Diffstat (limited to 'clients')
-rw-r--r--clients/zmailnotify/zmailnotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/zmailnotify/zmailnotify.c b/clients/zmailnotify/zmailnotify.c
index daf78f0..98725f6 100644
--- a/clients/zmailnotify/zmailnotify.c
+++ b/clients/zmailnotify/zmailnotify.c
@@ -365,7 +365,7 @@ mail_notify(mail)
char *fields[3];
ZNotice_t notice;
- (void) _BZERO((char *)&notice, sizeof(notice));
+ (void) memset((char *)&notice, 0, sizeof(notice));
notice.z_kind = UNACKED;
notice.z_port = 0;
notice.z_class = "MAIL";
@@ -427,7 +427,7 @@ char *host;
return NOTOK;
}
sin.sin_family = hp->h_addrtype;
- _BCOPY(hp->h_addr, (char *)&sin.sin_addr, hp->h_length);
+ (void) memcpy((char *)&sin.sin_addr, hp->h_addr, hp->h_length);
sin.sin_port = sp->s_port;
#ifdef KPOP
s = socket(AF_INET, SOCK_STREAM, 0);