summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-12-07 15:41:42 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-12-07 15:42:48 -0800
commitf6c7c70f312c8eb0883437c003ba78bb4abbabc3 (patch)
tree47ab9faa6f363af23bb2f6b414c6a53a49df5283
parent37fe15843fd892c529e554f24a937ed712ea129c (diff)
Coverity #467: security_error_list has fewer than XSecurityNumberErrors entries
Sometimes it's annoying that C silently merges adjacent strings without warning you that you forgot a comma in your list of strings.
-rw-r--r--src/XSecurity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSecurity.c b/src/XSecurity.c
index 161ade3..9a09daa 100644
--- a/src/XSecurity.c
+++ b/src/XSecurity.c
@@ -78,7 +78,7 @@ static XExtensionHooks Security_extension_hooks = {
};
static char *security_error_list[] = {
- "BadAuthorization"
+ "BadAuthorization",
"BadAuthorizationProtocol"
};