pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch/files The libfetch version is good enough...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3ded6320d163
branches: trunk
changeset: 538409:3ded6320d163
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 07 18:02:01 2008 +0000
description:
The libfetch version is good enough as user-agent.
diffstat:
net/libfetch/files/http.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2eabd4809274 -r 3ded6320d163 net/libfetch/files/http.c
--- a/net/libfetch/files/http.c Thu Feb 07 17:57:28 2008 +0000
+++ b/net/libfetch/files/http.c Thu Feb 07 18:02:01 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: http.c,v 1.7 2008/02/07 17:47:12 joerg Exp $ */
+/* $NetBSD: http.c,v 1.8 2008/02/07 18:02:01 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -923,7 +923,7 @@
if ((p = getenv("HTTP_USER_AGENT")) != NULL && *p != '\0')
http_cmd(conn, "User-Agent: %s", p);
else
- http_cmd(conn, "User-Agent: %s " _LIBFETCH_VER, getprogname());
+ http_cmd(conn, "User-Agent: %s ", _LIBFETCH_VER);
if (url->offset > 0)
http_cmd(conn, "Range: bytes=%lld-", (long long)url->offset);
http_cmd(conn, "Connection: close");
Home |
Main Index |
Thread Index |
Old Index