OSDN Git Service
(root)
/
modchxj
/
mod_chxj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3d0ea
)
* Fixed Bug.
author
Atsushi Konno
<konn@users.sourceforge.jp>
Fri, 25 Mar 2011 10:49:14 +0000
(19:49 +0900)
committer
Atsushi Konno
<konn@users.sourceforge.jp>
Fri, 25 Mar 2011 10:49:14 +0000
(19:49 +0900)
- segv if request_conf is not created.
src/mod_chxj.c
patch
|
blob
|
history
diff --git
a/src/mod_chxj.c
b/src/mod_chxj.c
index
adc6689
..
e5ec251
100644
(file)
--- a/
src/mod_chxj.c
+++ b/
src/mod_chxj.c
@@
-1744,7
+1744,9
@@
chxj_insert_filter(request_rec *r)
return;
}
- if (user_agent && req_conf->user_agent && strcmp(user_agent, req_conf->user_agent)) {
+ if (user_agent
+ && ( (req_conf->user_agent && strcmp(user_agent, req_conf->user_agent))
+ ||(!req_conf->user_agent))) {
spec = chxj_specified_device(r, user_agent);
}
else {