summary refs log tree commit diff stats
path: root/src/common/dcc.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/dcc.c
parent112632bb4ecfc54dba6346c1a9c3af9861c6a74b (diff)
Don't return 0 in place of NULL
Diffstat (limited to 'src/common/dcc.c')
-rw-r--r--src/common/dcc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/dcc.c b/src/common/dcc.c
index 8c6396b3..97cd5f14 100644
--- a/src/common/dcc.c
+++ b/src/common/dcc.c
@@ -494,7 +494,7 @@ dcc_write_chat (char *nick, char *text)
 		fe_dcc_update (dcc);
 		return dcc;
 	}
-	return 0;
+	return NULL;
 }
 
 /* returns: 0 - ok
@@ -1936,7 +1936,7 @@ find_dcc_from_id (int id, int type)
 		return dcc;
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 static struct DCC *
@@ -1952,7 +1952,7 @@ find_dcc_from_port (int port, int type)
 			return dcc;
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 struct DCC *
@@ -1977,7 +1977,7 @@ find_dcc (char *nick, char *file, int type)
 		}
 		list = list->next;
 	}
-	return 0;
+	return NULL;
 }
 
 /* called when we receive a NICK change from server */