[Pkg-shadow-commits] r714 - trunk/debian/patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Thu Dec 15 00:38:16 UTC 2005


Author: nekral-guest
Date: 2005-12-15 00:38:15 +0000 (Thu, 15 Dec 2005)
New Revision: 714

Modified:
   trunk/debian/patches/423_su_arguments_are_concatenated
Log:
Fix some warnings.


Modified: trunk/debian/patches/423_su_arguments_are_concatenated
===================================================================
--- trunk/debian/patches/423_su_arguments_are_concatenated	2005-12-15 00:37:08 UTC (rev 713)
+++ trunk/debian/patches/423_su_arguments_are_concatenated	2005-12-15 00:38:15 UTC (rev 714)
@@ -21,10 +21,10 @@
 +		 * -c option.
 +		 */
 +		{
-+			const char **parg;
++			char **parg;
 +			unsigned int cmd_len = 0;
 +			char *cmd = NULL;
-+			if (strcmp(argv[0], "-c") != NULL) {
++			if (strcmp(argv[0], "-c") != 0) {
 +				argv--;
 +				argv[0] = "-c";
 +			}




More information about the Pkg-shadow-commits mailing list