about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--xe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xe.c b/xe.c
index 804833c..8bae099 100644
--- a/xe.c
+++ b/xe.c
@@ -190,7 +190,7 @@ pusharg(const char *a)
 		while (buflen + l > bufcap)
 			bufcap *= 2;
 		buf = realloc(buf, bufcap);
-		if (!args)
+		if (!buf)
 			exit(1);
 	}