forked from pool/libsecprog
- Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1153814 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsecprog?expand=0&rev=7
12 lines
272 B
Diff
12 lines
272 B
Diff
--- 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')
|