pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libfetch/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr 16 08:25:05 UTC 2026

Modified Files:
        pkgsrc/net/libfetch/files: ftp.c

Log Message:
libfetch: reduce diffs to src/

cast away an unused result value


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/net/libfetch/files/ftp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libfetch/files/ftp.c
diff -u pkgsrc/net/libfetch/files/ftp.c:1.53 pkgsrc/net/libfetch/files/ftp.c:1.54
--- pkgsrc/net/libfetch/files/ftp.c:1.53        Thu Apr 16 08:24:04 2026
+++ pkgsrc/net/libfetch/files/ftp.c     Thu Apr 16 08:25:05 2026
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftp.c,v 1.53 2026/04/16 08:24:04 wiz Exp $     */
+/*     $NetBSD: ftp.c,v 1.54 2026/04/16 08:25:05 wiz Exp $     */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2008, 2009, 2010 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -649,7 +649,7 @@ ftp_closefn(void *v)
        fetch_close(io->dconn);
        io->dconn = NULL;
        io->dir = -1;
-       ftp_chkerr(io->cconn);
+       (void)ftp_chkerr(io->cconn);
        fetch_cache_put(io->cconn, ftp_disconnect);
        free(io);
        return;



Home | Main Index | Thread Index | Old Index