git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ef57324
)
Fix escape sequence in config file regex
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 3 Aug 2009 09:19:27 +0000 (11:19 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 3 Aug 2009 09:19:27 +0000 (11:19 +0200)
src/config.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/config.cpp
b/src/config.cpp
index
a155dbe
..
35975ad
100644
(file)
--- a/
src/config.cpp
+++ b/
src/config.cpp
@@
-294,7
+294,7
@@
int Config::load_config_from_files()
if( fs::is_regular_file( dir_itr->status() ) )
{
string actual_file = dir_itr->path().filename();
- boost::regex expr(".*\.conf?");
+ boost::regex expr(".*\\.conf?");
// If it is the main config file do the following
if ( actual_file == "bpdyndnsd.conf" )
{