!2 libssh: bugfix in build process

Merge pull request !2 from orange-snn/master
This commit is contained in:
openeuler-ci-bot 2020-01-13 00:52:10 +08:00 committed by Gitee
commit 70e0e00fbf
2 changed files with 8 additions and 2 deletions

View File

@ -555,7 +555,7 @@ index fd9aaaaa..5de0e6ff 100644
+ file, size, perms); + file, size, perms);
+ snprintf(buffer, sizeof(buffer), "C%s %" PRIu64 " %s\n", perms, size, file); + snprintf(buffer, sizeof(buffer), "C%s %" PRIu64 " %s\n", perms, size, file);
+ SAFE_FREE(file); + SAFE_FREE(file);
+ SAFE_FREE(perms) + SAFE_FREE(perms);
+ +
+ rc = ssh_channel_write(scp->channel, buffer, strlen(buffer)); + rc = ssh_channel_write(scp->channel, buffer, strlen(buffer));
+ if (rc == SSH_ERROR) { + if (rc == SSH_ERROR) {

View File

@ -1,6 +1,6 @@
Name: libssh Name: libssh
Version: 0.8.3 Version: 0.8.3
Release: 6 Release: 7
Summary: A library implementing the SSH protocol Summary: A library implementing the SSH protocol
License: LGPLv2+ License: LGPLv2+
URL: https://www.libssh.org URL: https://www.libssh.org
@ -107,6 +107,12 @@ popd
%doc README ChangeLog obj/doc/html %doc README ChangeLog obj/doc/html
%changelog %changelog
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.3-7
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:bugfix in build process
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.3-6 * Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.8.3-6
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA