diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rcp/rcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index 186dde6..42f1702 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -447,7 +447,7 @@ rsource(char *name, struct stat *statp) return; } last = strrchr(name, '/'); - if (last == 0) + if (last == NULL) last = name; else last++; |