]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
dccp_send: comment out noisy debug message.
[paraslash.git] / dccp_send.c
index ace92dee9f13ae2037e34279751494bf4245a00e..5478c1d19a23210ae719a4f0c80e9cca56376541 100644 (file)
@@ -1,3 +1,26 @@
+/*
+ * Copyright (C) 2006 Andre Noll <maan@systemlinux.org>
+ *
+ *     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
+ *     the Free Software Foundation; either version 2 of the License, or
+ *     (at your option) any later version.
+ *
+ *     This program is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ *     You should have received a copy of the GNU General Public License
+ *     along with this program; if not, write to the Free Software
+ *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
+ */
+
+/*
+ * based on server.c of dccp-cs-0.01.tar.bz2,
+ * (C) 2005 Ian McDonald <imcdnzl@gmail.com>
+ */
+
 #include "server.h"
 #include "net.h"
 #include "list.h"
@@ -113,7 +136,7 @@ static void dccp_send(__unused struct audio_format *af,
                        if (!_write_ok(dc->fd))
                                continue;
                }
-               PARA_DEBUG_LOG("writing %d bytes to fd %d\n", len, dc->fd);
+//             PARA_DEBUG_LOG("writing %d bytes to fd %d\n", len, dc->fd);
                ret = write(dc->fd, buf, len);
                if (ret != len)
                        dccp_shutdown_client(dc);