diff options
author | David Troy <dave@popvox.com> | 2006-04-13 17:24:37 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-13 17:24:37 +0000 |
commit | 40bc9b333b357fdcad1f905f05338d4696b62ddb (patch) | |
tree | 30260ec135af01fab9c4b102521ea876fbcbb1c4 | |
parent | 9dc19ee358039597f54cda2471b4f98f958ad47a (diff) | |
download | astmanproxy-40bc9b333b357fdcad1f905f05338d4696b62ddb.tar.gz astmanproxy-40bc9b333b357fdcad1f905f05338d4696b62ddb.tar.xz astmanproxy-40bc9b333b357fdcad1f905f05338d4696b62ddb.zip |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.21pre@111 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r-- | src/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ int _write(struct mansession *s, struct message *m) { xml_quote_string(m->headers[i], xmlescaped); lpos = xmlescaped; dpos = strstr(lpos, ": "); - if (dpos) { + if (dpos && *(lpos)!= ' ') { strcpy(outstring, " <"); strncat(outstring, lpos, dpos-lpos); strcat(outstring, " Value=\""); |