File libsecprog-0.8_strliteralcmp.diff of Package libsecprog

--- a/libsecprog.c	2007-01-09 17:03:17.000000000 +0100
+++ b/libsecprog.c	2007-01-09 17:30:56.000000000 +0100
@@ -378,7 +378,7 @@
 	char *cmdcpy;
 
 
-	if(cmd == NULL || cmd == "")
+	if(cmd == NULL || cmd[0] == 0)
 		return(NULL);
 
 	if(type[0] != 'r' && type[0] != 'w')
openSUSE Build Service is sponsored by