diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-18 14:08:40 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-18 14:08:40 +0000 |
| commit | d030d2d2aee170303ffb5eed3183616ef7ddfbb4 (patch) | |
| tree | 1ff40baf2bdd10f9e8275383efc4508d3e4dd2ad /lib/libftpio/ftpio.c | |
| parent | 06bba905d06c4ca139b00432a8c86b2db9aeb5d8 (diff) | |
Notes
Diffstat (limited to 'lib/libftpio/ftpio.c')
| -rw-r--r-- | lib/libftpio/ftpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libftpio/ftpio.c b/lib/libftpio/ftpio.c index bdb7d2e2ff74..528747759690 100644 --- a/lib/libftpio/ftpio.c +++ b/lib/libftpio/ftpio.c @@ -14,7 +14,7 @@ * Turned inside out. Now returns xfers as new file ids, not as a special * `state' of FTP_t * - * $Id$ + * $Id: ftpio.c,v 1.25 1997/02/22 15:06:50 peter Exp $ * */ @@ -417,7 +417,7 @@ get_url_info(char *url_in, char *host_ret, int *port_ret, char *name_ret) name = host = NULL; /* XXX add http:// here or somewhere reasonable at some point XXX */ - if (strncmp("ftp://", url_in, 6) != NULL) + if (strncmp("ftp://", url_in, 6) != 0) return FAILURE; /* We like to stomp a lot on the URL string in dissecting it, so copy it first */ strncpy(url, url_in, BUFSIZ); |
