X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/c6a70f38f22abf3c46914b85ff620975f12bf027..b88fd7912fc173b50b4638fb1e25155999568990:/clients/playrtp.c diff --git a/clients/playrtp.c b/clients/playrtp.c index 5b1e496..c07c153 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2007, 2008 Richard Kettlewell + * Copyright (C) 2007-2009 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -762,9 +762,6 @@ int main(int argc, char **argv) { struct sockaddr_in *in = (struct sockaddr_in *)res->ai_addr; memset(&in->sin_addr, 0, sizeof (struct in_addr)); - if(bind(rtpfd, res->ai_addr, res->ai_addrlen) < 0) - fatal(errno, "error binding socket to 0.0.0.0 port %d", - ntohs(in->sin_port)); break; } case AF_INET6: {