openbsd-ports/x11/windowmaker/patches/patch-src_session_c

13 lines
346 B
Plaintext

$OpenBSD: patch-src_session_c,v 1.2 2010/05/20 10:58:08 espie Exp $
--- src/session.c.orig Fri Mar 11 22:35:38 2005
+++ src/session.c Thu May 20 12:50:56 2010
@@ -381,7 +381,7 @@ execCommand(WScreen *scr, char *command, char *host)
wtokensplit(command, &argv, &argc);
- if (argv==NULL) {
+ if (!argc) {
return 0;
}