diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2018-04-05 10:49:55 +0200 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2018-04-06 00:18:33 +0200 |
commit | 81a2699fdd5eb0b2c2d8c5e22db6c2fb8241cf20 (patch) | |
tree | 1fd5046b2c68120ea069b9f6a05fed9ef69861c1 /src/attacher.c | |
parent | 9b5a5ed22808c51359f3e8959edb133c521a850a (diff) | |
download | screen-81a2699fdd5eb0b2c2d8c5e22db6c2fb8241cf20.tar.gz |
use NULL instead of 0 where applicable
found with sparse
warning: Using plain integer as NULL pointer
Diffstat (limited to 'src/attacher.c')
-rw-r--r-- | src/attacher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attacher.c b/src/attacher.c index c6a54b8..421f78a 100644 --- a/src/attacher.c +++ b/src/attacher.c @@ -433,7 +433,7 @@ void SendCmdMessage(char *sty, char *match, char **av, int query) char *p; int n; - if (sty == 0) { + if (sty == NULL) { i = FindSocket(&s, (int *)0, (int *)0, match); if (i == 0) Panic(0, "No screen session found."); |