summary refs log tree commit diff stats
path: root/src/common/hexchat.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-12-31 11:31:17 -0500
committerTingPing <tingping@tingping.se>2014-12-31 11:31:17 -0500
commit2a282893140c0e838a4750da80198d07e355acc6 (patch)
treec67c878dff398fc96c7a1b263257497f31546902 /src/common/hexchat.c
parent112632bb4ecfc54dba6346c1a9c3af9861c6a74b (diff)
Don't return 0 in place of NULL
Diffstat (limited to 'src/common/hexchat.c')
-rw-r--r--src/common/hexchat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/hexchat.c b/src/common/hexchat.c
index fdae21d0..7d8e462f 100644
--- a/src/common/hexchat.c
+++ b/src/common/hexchat.c
@@ -209,7 +209,7 @@ find_dialog (server *serv, char *nick)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 session *
@@ -227,7 +227,7 @@ find_channel (server *serv, char *chan)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 static void