Bug 180 - Generate warning if regexps selected and not libpcre
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1511 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
01f7523dbe
commit
333c3b4ba3
|
@ -509,6 +509,10 @@ int RemoteCamera::GetResponse()
|
||||||
else
|
else
|
||||||
#endif // HAVE_LIBPCRE
|
#endif // HAVE_LIBPCRE
|
||||||
{
|
{
|
||||||
|
if ( config.netcam_regexps )
|
||||||
|
{
|
||||||
|
Warning(( "Unable to use netcam regexps as not compiled with libpcre" ));
|
||||||
|
}
|
||||||
static const char *http_match = "HTTP/";
|
static const char *http_match = "HTTP/";
|
||||||
static const char *connection_match = "Connection:";
|
static const char *connection_match = "Connection:";
|
||||||
static const char *content_length_match = "Content-length:";
|
static const char *content_length_match = "Content-length:";
|
||||||
|
|
Loading…
Reference in New Issue