summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-03 22:28:57 +0000
committercorvid <devnull@localhost>2014-08-03 22:28:57 +0000
commit02ba033e04c72019be578d011e9cdd64221deb11 (patch)
treed3046aa0a887d6d76692f85a55b090ed661900e4
parentad5acf836446b260329ce464e1fb27dc97e48d3e (diff)
BUG_MSG
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index 04b4ac84..28c44dbe 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1517,8 +1517,8 @@ static int
bool valid = *val && !strchr(val, ' ');
if (!valid) {
- BUG_MSG("'%s' value must not be empty and must not contain spaces.\n",
- attrname);
+ BUG_MSG("'%s' value \"%s\" must not be empty and must not contain "
+ "spaces.\n", attrname, val);
}
return valid ? 1 : 0;
} else {