summary refs log tree commit diff stats
path: root/src/common/inbound.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/inbound.c
parent112632bb4ecfc54dba6346c1a9c3af9861c6a74b (diff)
Don't return 0 in place of NULL
Diffstat (limited to 'src/common/inbound.c')
-rw-r--r--src/common/inbound.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index 720c7e9b..db68c64c 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -118,7 +118,7 @@ find_session_from_nick (char *nick, server *serv)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 static session *
@@ -555,7 +555,7 @@ find_unused_session (server *serv)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 static session *
@@ -573,7 +573,7 @@ find_session_from_waitchannel (char *chan, struct server *serv)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 void
@@ -932,7 +932,7 @@ find_session_from_type (int type, server *serv)
 			return sess;
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 void