19 lines
678 B
Diff
19 lines
678 B
Diff
diff -Nru ssh2-0.12.orig/ssh2_fopen_wrappers.c ssh2-0.12/ssh2_fopen_wrappers.c
|
|
--- ssh2-0.12.orig/ssh2_fopen_wrappers.c 2012-10-02 22:18:07.000000000 +0200
|
|
+++ ssh2-0.12/ssh2_fopen_wrappers.c 2015-02-21 19:06:32.274837384 +0100
|
|
@@ -218,14 +218,6 @@
|
|
return NULL;
|
|
}
|
|
|
|
- /*
|
|
- Find resource->path in the path string, then copy the entire string from the original path.
|
|
- This includes ?query#fragment in the path string
|
|
- */
|
|
- s = resource->path;
|
|
- resource->path = estrdup(strstr(path, resource->path));
|
|
- efree(s);
|
|
-
|
|
/* Look for a resource ID to reuse a session */
|
|
s = resource->host;
|
|
if (strncmp(resource->host, "Resource id #", sizeof("Resource id #") - 1) == 0) {
|