source: trunk/dports/sysutils/poldek/files/poldek-uri-escape-fix.patch @ 28386

Last change on this file since 28386 was 28386, checked in by afb@…, 13 years ago

new port: yet another rpm frontend

File size: 475 bytes
RevLine 
[28386]1--- vfile/vfff/http.c.orig      2007-07-16 22:05:47.000000000 +0200
2+++ vfile/vfff/http.c   2007-07-16 22:06:10.000000000 +0200
3@@ -123,16 +123,8 @@
4 
5 static char *make_req_line(char *buf, int size, const char *method, const char *uri)
6 {
7-    char *escaped = NULL;
8-   
9-    if ((escaped = vfff_uri_escape(uri)))
10-        uri = escaped;
11-   
12     n_snprintf(buf, size, "%s %s HTTP/1.1\r\n", method, uri);
13 
14-    if (escaped)
15-        free(escaped);
16-   
17     return buf;
18 }
19 
Note: See TracBrowser for help on using the repository browser.