X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=net.c;h=d32cc7eeb611279d936ef8cfd98dda644f06d799;hb=ca059ef393a5ea00c3318314b3de5229f9fd7ea0;hp=49026db0ec91a7b4a1d3d0917723720eb8d0ba30;hpb=fddf60223e26c1dc1e02b432652c4ca6a237c278;p=paraslash.git diff --git a/net.c b/net.c index 49026db0..d32cc7ee 100644 --- a/net.c +++ b/net.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -705,7 +705,7 @@ int send_bin_buffer(int fd, const char *buf, size_t len) { if (!len) PARA_CRIT_LOG("len == 0\n"); - return write_all(fd, buf, &len); + return write_all(fd, buf, len); } /**