Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fa17c8
)
Rename a variable.
author
Reginald Kennedy
<rk@rejii.com>
Fri, 27 Jul 2012 20:27:56 +0000
(
04:27
+0800)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 27 Jul 2012 20:27:56 +0000
(
04:27
+0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
3b240f1
..
6242ac6
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-7411,10
+7411,10
@@
clientmessage(xcb_client_message_event_t *e)
void
check_conn(void)
{
- int err = xcb_connection_has_error(conn);
+ int errcode = xcb_connection_has_error(conn);
char *s;
- switch (err) {
+ switch (errcode) {
case XCB_CONN_ERROR:
s = "Socket error, pipe error or other stream error.";
break;
@@
-7434,8
+7434,8
@@
check_conn(void)
s = "Unknown error.";
}
- if (err)
- errx(err, "X CONNECTION ERROR: %s", s);
+ if (errcode)
+ errx(errcode, "X CONNECTION ERROR: %s", s);
}
#else
void