changeset 312:a0c001672b44

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 11 Jun 2011 06:00:31 +0300
parents 65c156ef7a9d
children 7c96f52e9a3b
files libnnchat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
     }