diff options
-rw-r--r-- | clients/zmailnotify/zmailnotify.c | 4 |
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 *)¬ice, sizeof(notice)); + (void) memset((char *)¬ice, 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); |