version 1.23, 2002/02/13 00:59:23 |
version 1.24, 2002/02/24 16:57:19 |
|
|
handle = get_handle(conn->fd_in, id, &handle_len); |
handle = get_handle(conn->fd_in, id, &handle_len); |
if (handle == NULL) { |
if (handle == NULL) { |
buffer_free(&msg); |
buffer_free(&msg); |
close(local_fd); |
|
return(-1); |
return(-1); |
} |
} |
|
|
|
|
if (local_fd == -1) { |
if (local_fd == -1) { |
error("Couldn't open local file \"%s\" for writing: %s", |
error("Couldn't open local file \"%s\" for writing: %s", |
local_path, strerror(errno)); |
local_path, strerror(errno)); |
|
buffer_free(&msg); |
|
xfree(handle); |
return(-1); |
return(-1); |
} |
} |
|
|