kern_recvmsg() may not return a valid(non-NULL) pointer to `sa'
[dragonfly.git] / usr.bin / ftp / util.c.patch
blob52e740ef64838b9a8543f07c316fdd10193b8550
1 $DragonFly: src/usr.bin/ftp/Attic/util.c.patch,v 1.1 2005/11/13 11:59:03 corecode Exp $
2 ===================================================================
3 RCS file: /cvs/src/contrib/lukemftp/util.c,v
4 retrieving revision 1.1.1.1
5 diff -u -r1.1.1.1 util.c
6 --- util.c 13 Nov 2005 11:28:53 -0000 1.1.1.1
7 +++ util.c 13 Nov 2005 11:30:19 -0000
8 @@ -1446,8 +1446,7 @@
9 xsl_add(StringList *sl, char *i)
12 - if (sl_add(sl, i) == -1)
13 - err(1, "Unable to add `%s' to stringlist", i);
14 + sl_add(sl, i);