]> git.pld-linux.org Git - packages/BitchX.git/blame - BitchX-353fix.patch
- use long as return type on 64-bit arch
[packages/BitchX.git] / BitchX-353fix.patch
CommitLineData
a5aee33d 1--- BitchX/source/funny.c.orig Thu Feb 20 12:15:02 2003
2+++ BitchX/source/funny.c Thu Feb 20 12:15:06 2003
3@@ -158,6 +158,10 @@
4 channel = ArgList[0];
5 user_cnt = ArgList[1];
6 line = PasteArgs(ArgList, 2);
7+ if (channel == NULL || line == NULL) {
8+ bitchsay("Invalid number of arguments for %s", __FUNCTION__);
9+ return;
10+ }
11 if (funny_flags & FUNNY_TOPIC && !(line && *line))
12 return;
13 cnt = my_atol(user_cnt);
14
This page took 0.042607 seconds and 4 git commands to generate.