Skip to content

Commit ddaa6a0

Browse files
committed
reverting 2012-06-16 99.8d73279 "Fix bug #59794"
- that and all child commits seem to be segfaulting on an up-to-date Arch Linux
1 parent aa5adbd commit ddaa6a0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ssh2_fopen_wrappers.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,6 @@ php_url *php_ssh2_fopen_wraper_parse_path( char *path, char *type, php_stream_co
218218
return NULL;
219219
}
220220

221-
/*
222-
Find resource->path in the path string, then copy the entire string from the original path.
223-
This includes ?query#fragment in the path string
224-
*/
225-
s = resource->path;
226-
resource->path = estrdup(strstr(path, resource->path));
227-
efree(s);
228-
229221
/* Look for a resource ID to reuse a session */
230222
s = resource->host;
231223
if (strncmp(resource->host, "Resource id #", sizeof("Resource id #") - 1) == 0) {

0 commit comments

Comments
 (0)