diff options
Diffstat (limited to 'gatchat/gatio.c')
-rw-r--r-- | gatchat/gatio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/gatio.c b/gatchat/gatio.c index a9faba50..b65be86d 100644 --- a/gatchat/gatio.c +++ b/gatchat/gatio.c @@ -177,11 +177,11 @@ static GAtIO *create_io(GIOChannel *channel, GIOFlags flags) { GAtIO *io; - if (!channel) + if (channel == NULL) return NULL; io = g_try_new0(GAtIO, 1); - if (!io) + if (io == NULL) return io; io->ref_count = 1; |