1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-26 23:26:11 +00:00

ftp: fix spelling of NULL

This commit is contained in:
tb
2025-11-20 11:15:59 +00:00
parent 11f70bf3c4
commit 5f5de0b040

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: fetch.c,v 1.220 2025/06/02 20:57:36 schwarze Exp $ */
/* $OpenBSD: fetch.c,v 1.221 2025/11/20 11:15:59 tb Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@ -1128,7 +1128,7 @@ cleanup_url_get:
ftp_close(&fin, &tls, &fd);
if (out >= 0 && out != fileno(stdout)) {
#ifndef SMALL
if (server_timestamps && lmt.tm_zone != 0 &&
if (server_timestamps && lmt.tm_zone != NULL &&
fstat(out, &stbuf) == 0 && S_ISREG(stbuf.st_mode) != 0) {
ts[0].tv_nsec = UTIME_NOW;
ts[1].tv_nsec = 0;