aewl
diff util.c @ 532:651f2c868b31
code polishing, removed unnecessary newlines
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 06 Oct 2006 11:50:15 +0200 |
parents | 740c4bfc3124 |
children | e90bf387bf6f |
line diff
1.1 --- a/util.c Fri Oct 06 11:37:12 2006 +0200 1.2 +++ b/util.c Fri Oct 06 11:50:15 2006 +0200 1.3 @@ -1,5 +1,4 @@ 1.4 -/* 1.5 - * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com> 1.6 +/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com> 1.7 * See LICENSE file for license details. 1.8 */ 1.9 #include "dwm.h" 1.10 @@ -33,6 +32,7 @@ 1.11 void * 1.12 erealloc(void *ptr, unsigned int size) { 1.13 void *res = realloc(ptr, size); 1.14 + 1.15 if(!res) 1.16 eprint("fatal: could not malloc() %u bytes\n", size); 1.17 return res; 1.18 @@ -44,7 +44,6 @@ 1.19 1.20 if(!shell && !(shell = getenv("SHELL"))) 1.21 shell = "/bin/sh"; 1.22 - 1.23 if(!arg->cmd) 1.24 return; 1.25 /* The double-fork construct avoids zombie processes and keeps the code