← Commit list

f980bd584

Glenn L McGrath
Glenn L McGrath
2003-12-27
FAILED Duration: 88s

Subject

Fix a bug of mine, identified by Stephane Billiart

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/wget.c+2 -3
@@ -582,9 +582,8 @@ void parse_url(char *url, struct host_info *h)
cp = strchr(pp, ':');
if (cp != NULL) {
*cp++ = '\0';
- h->port = atoi(cp);
+ h->port = htons(atoi(cp));
}
-
}
@@ -835,7 +834,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.63 2003/12/20 01:47:18 bug1 Exp $
+ * $Id: wget.c,v 1.64 2003/12/27 00:21:47 bug1 Exp $
*/