changeset: 2422:8d8657c484bc
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Dec 11 13:45:05 2008 -0500
files: cmd/wmii/message.c
description:
Fix segfault on grow command with no args
diff -r f217ded2b1e1 -r 8d8657c484bc cmd/wmii/message.c
--- a/cmd/wmii/message.c Thu Dec 11 02:54:25 2008 -0500
+++ b/cmd/wmii/message.c Thu Dec 11 13:45:05 2008 -0500
@@ -359,7 +359,7 @@
ulong l;
s = msg_getword(m);
- if(!strcmp(s, "client")) {
+ if(!s || !strcmp(s, "client")) {
c = strclient(v, msg_getword(m));
if(c == nil)
return nil;
Received on Thu Dec 11 2008 - 18:45:08 UTC
This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 18:48:04 UTC