Don't return 0 in place of NULL

This commit is contained in:
TingPing
2014-12-31 11:31:17 -05:00
parent 112632bb4e
commit 2a28289314
9 changed files with 25 additions and 25 deletions

View File

@@ -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