diff libnnchat.c @ 312:a0c001672b44

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 11 Jun 2011 06:00:31 +0300
parents 61884ce9db41
children c086345d176b
line wrap: on
line diff
--- a/libnnchat.c	Sat Jun 11 05:48:15 2011 +0300
+++ b/libnnchat.c	Sat Jun 11 06:00:31 2011 +0300
@@ -574,7 +574,7 @@
 
 void nn_editbuf_free(nn_editbuf_t *buf)
 {
-    if (buf) {
+    if (buf != NULL) {
         th_free(buf->data);
         th_free(buf);
     }