Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/ftp isurl does not return a pointer!



details:   https://anonhg.NetBSD.org/src/rev/623cb9986f1f
branches:  trunk
changeset: 474532:623cb9986f1f
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 10 19:41:15 1999 +0000

description:
isurl does not return a pointer!

diffstat:

 usr.bin/ftp/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 376a47bb3873 -r 623cb9986f1f usr.bin/ftp/main.c
--- a/usr.bin/ftp/main.c        Sat Jul 10 19:41:01 1999 +0000
+++ b/usr.bin/ftp/main.c        Sat Jul 10 19:41:15 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.45 1999/07/02 08:07:42 itojun Exp $ */
+/*     $NetBSD: main.c,v 1.46 1999/07/10 19:41:15 christos Exp $       */
 
 /*
  * Copyright (C) 1997 and 1998 WIDE Project.
@@ -72,7 +72,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     8.6 (Berkeley) 10/9/94";
 #else
-__RCSID("$NetBSD: main.c,v 1.45 1999/07/02 08:07:42 itojun Exp $");
+__RCSID("$NetBSD: main.c,v 1.46 1999/07/10 19:41:15 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -342,7 +342,7 @@
 #endif
 
        if (argc > 0) {
-               if (isurl(argv[0]) != NULL) {
+               if (isurl(argv[0])) {
                        rval = auto_fetch(argc, argv);
                        if (rval >= 0)          /* -1 == connected and cd-ed */
                                exit(rval);



Home | Main Index | Thread Index | Old Index