diff options
author | David Troy <dave@popvox.com> | 2006-04-07 17:27:01 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-07 17:27:01 +0000 |
commit | 2e59afd9c5cdfcc8fa3f7237668568e9c85a15a0 (patch) | |
tree | 77dbd25294aeaf722a2573921308b9b05be9e896 /src/astmanproxy.c | |
parent | 524502c0a8d5b6d8ec1f15ab456b20c1d33451ad (diff) | |
download | astmanproxy-2e59afd9c5cdfcc8fa3f7237668568e9c85a15a0.tar.gz astmanproxy-2e59afd9c5cdfcc8fa3f7237668568e9c85a15a0.tar.xz astmanproxy-2e59afd9c5cdfcc8fa3f7237668568e9c85a15a0.zip |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@92 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/astmanproxy.c')
-rw-r--r-- | src/astmanproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c index 0cc3a6a..9eb5ac6 100644 --- a/src/astmanproxy.c +++ b/src/astmanproxy.c @@ -266,7 +266,7 @@ void *session_do(struct mansession *s) if (res > 0) { /* Check for anything that requires proxy-side processing */ - if (pc.key && !s->authenticated) { + if (pc.key[0] != '\0' && !s->authenticated) { key = astman_get_header(&m, "ProxyKey"); if (!strcmp(key, pc.key) ) { pthread_mutex_lock(&s->lock); |