removed stderr fprintfs

svn path=/trunk/boinc/; revision=1574
This commit is contained in:
Karl Chen 2003-06-24 00:33:59 +00:00
parent 6c90acf0d5
commit c4bb92ca30
4 changed files with 39 additions and 31 deletions

View File

@ -5013,3 +5013,11 @@ Karl 2003/06/23
filesys.h
util.C
util.h
Karl 2003/06/23
- removed stderr messages on detach_project() after user adds a URL that
doesn't work
client/
http.C
net_xfer.C

View File

@ -1,19 +1,19 @@
// The contents of this file are subject to the Mozilla Public License
// Version 1.0 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://www.mozilla.org/MPL/
//
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
// License for the specific language governing rights and limitations
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// The Initial Developer of the Original Code is the SETI@home project.
// Portions created by the SETI@home project are Copyright (C) 2002
// University of California at Berkeley. All Rights Reserved.
//
// Portions created by the SETI@home project are Copyright (C) 2002, 2003
// University of California at Berkeley. All Rights Reserved.
//
// Contributor(s):
//
@ -218,7 +218,7 @@ int HTTP_OP::init_head(char* url) {
//
int HTTP_OP::init_get(char* url, char* out, bool del_old_file, double off) {
char proxy_buf[256];
if (del_old_file) {
unlink(out);
}
@ -473,7 +473,7 @@ bool HTTP_OP_SET::poll() {
// fall through
case HTTP_OP_GET:
htp->http_op_state = HTTP_STATE_REPLY_BODY;
htp->file = fopen(htp->outfile, "ab");
if (!htp->file) {
fprintf(stderr,
@ -539,6 +539,6 @@ int HTTP_OP_SET::remove(HTTP_OP* p) {
}
iter++;
}
fprintf(stdout, "HTTP_OP_SET::remove(): not found\n");
// fprintf(stdout, "HTTP_OP_SET::remove(): not found\n");
return 1;
}

View File

@ -1,19 +1,19 @@
// The contents of this file are subject to the Mozilla Public License
// Version 1.0 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://www.mozilla.org/MPL/
//
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
// License for the specific language governing rights and limitations
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// The Initial Developer of the Original Code is the SETI@home project.
// Portions created by the SETI@home project are Copyright (C) 2002
// University of California at Berkeley. All Rights Reserved.
//
// University of California at Berkeley. All Rights Reserved.
//
// Contributor(s):
//

View File

@ -1,19 +1,19 @@
// The contents of this file are subject to the Mozilla Public License
// Version 1.0 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://www.mozilla.org/MPL/
//
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
// License for the specific language governing rights and limitations
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// under the License.
//
// The Original Code is the Berkeley Open Infrastructure for Network Computing.
//
// The Initial Developer of the Original Code is the SETI@home project.
// Portions created by the SETI@home project are Copyright (C) 2002
// University of California at Berkeley. All Rights Reserved.
//
// Portions created by the SETI@home project are Copyright (C) 2002, 2003
// University of California at Berkeley. All Rights Reserved.
//
// Contributor(s):
//
@ -272,7 +272,7 @@ int NET_XFER_SET::remove(NET_XFER* nxp) {
}
iter++;
}
fprintf(stdout, "NET_XFER_SET::remove(): not found\n");
// fprintf(stdout, "NET_XFER_SET::remove(): not found\n");
return 1;
}
@ -320,7 +320,7 @@ int NET_XFER_SET::net_sleep(double x) {
// do a select with the given timeout,
// then do I/O on as many sockets as possible, subject to rate limits
// Transfer at most one block per socket.
//
//
int NET_XFER_SET::do_select(double& bytes_transferred, timeval& timeout) {
int n, fd, retval;
socklen_t i;