projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37caed
)
PennMUSH Incorporation. 1.8.2-patch01
author
Rick Bird
<nveid@bender.theari.com>
Fri, 25 Mar 2011 17:36:59 +0000
(13:36 -0400)
committer
Rick Bird
<nveid@bender.theari.com>
Fri, 25 Mar 2011 17:36:59 +0000
(13:36 -0400)
-Correction of inadvertent breakage of null comparisons.
src/wild.c
patch
|
blob
|
history
diff --git
a/src/wild.c
b/src/wild.c
index 5278bfdb0051f4cc067373f9a2314fa494a2421f..2567dfb04e353d6f5929f219f190ebb9a9191445 100644
(file)
--- a/
src/wild.c
+++ b/
src/wild.c
@@
-613,7
+613,7
@@
local_wild_match_case(const char *RESTRICT s, const char *RESTRICT d, int cs)
return quick_wild_new(s, d, cs);
}
} else
- return 0;
+ return
(!d || !*d) ? 1 :
0;
}
/** Does a string contain a wildcard character (* or ?)?