Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

(patch) fix incorrect return value in rcp(1)

From: Andrey Matveev <andrushock(at)korovino.net>
Date: Tue Apr 08 2003 - 20:58:27 EDT


Index: bin/rcp/rcp.c



RCS file: /cvs/src/bin/rcp/rcp.c,v
retrieving revision 1.33
diff -u -r1.33 rcp.c
--- bin/rcp/rcp.c	2003/03/08 17:18:25	1.33
+++ bin/rcp/rcp.c	2003/04/08 23:49:34
@@ -495,7 +495,7 @@
 		return;
 	}
 	last = strrchr(name, '/');
-	if (last == 0)
+	if (last == NULL)
 		last = name;
 	else
 		last++;
Received on Tue Apr 8 19:56:35 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:53 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library