projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a92438
)
another oops
author
sopwith
<devnull@localhost>
Fri, 20 Feb 2004 20:18:20 +0000
(20:18 +0000)
committer
sopwith
<devnull@localhost>
Fri, 20 Feb 2004 20:18:20 +0000
(20:18 +0000)
CVS patchset: 7108
CVS date: 2004/02/20 20:18:20
python/header-py.c
patch
|
blob
|
history
diff --git
a/python/header-py.c
b/python/header-py.c
index
41cc046
..
b2c8d18
100644
(file)
--- a/
python/header-py.c
+++ b/
python/header-py.c
@@
-991,7
+991,9
@@
PyObject * versionCompare (PyObject * self, PyObject * args)
*/
static int label_compare_values(const char *str1, const char *str2)
{
- if (str1 && !str2)
+ if (!str1 && !str2)
+ return 0;
+ else if (str1 && !str2)
return 1;
else if (!str1 && str2)
return -1;