mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
fixed uuid compare
This commit is contained in:
+5
-2
@@ -4023,8 +4023,11 @@ void uwsgi_uuid(char *buf) {
|
||||
int uwsgi_uuid_cmp(char *x, char *y) {
|
||||
int i;
|
||||
for(i=0;i<36;i++) {
|
||||
if (x[i] > y[i]) {
|
||||
return 1;
|
||||
if (x[i] != y[i]) {
|
||||
if (x[i] > y[i]) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user