X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fcss-url.c;h=355e780a4e0a92f4e991fa7d156c9822b8a2f01b;hp=621c17dd65948efa5858ee76bfbd4871c9c53009;hb=4a08094db88011153adadbf995103770b20d2a31;hpb=73ff253e371f58dde04ce30f04c59f2000a1b7e5 diff --git a/src/css-url.c b/src/css-url.c index 621c17dd..355e780a 100644 --- a/src/css-url.c +++ b/src/css-url.c @@ -49,7 +49,6 @@ as that of the covered work. */ #include #include #include -#include #include "wget.h" #include "utils.h" @@ -144,7 +143,7 @@ get_uri_string (const char *at, int *pos, int *length) if (uri) { strncpy (uri, at + *pos, *length); - uri[*length] = '\0'; + uri[*length] = '\0'; } return uri;