[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix compile errors in remote.c and newly added audit code



On Tue, Oct 19, 2010 at 07:06:05PM +0200, Matthias Bolte wrote:
> ---
> 
> I pushed this under the trivial complie error fix rule :)
> 
> Matthias
> 
>  daemon/remote.c      |    4 ++--
>  src/util/virtaudit.c |    4 ++--
>  src/util/virtaudit.h |    2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/daemon/remote.c b/daemon/remote.c
> index 44609c7..75df9b5 100644
> --- a/daemon/remote.c
> +++ b/daemon/remote.c
> @@ -2233,8 +2233,6 @@ remoteDispatchDomainReboot (struct qemud_server *server ATTRIBUTE_UNUSED,
>                              void *ret ATTRIBUTE_UNUSED)
>  {
>      virDomainPtr dom;
> -    char uuidstr[VIR_UUID_STRING_BUFLEN];
> -    int r;
>  
>      dom = get_nonnull_domain (conn, args->dom);
>      if (dom == NULL) {
> @@ -2286,6 +2284,8 @@ remoteDispatchDomainResume (struct qemud_server *server ATTRIBUTE_UNUSED,
>                              void *ret ATTRIBUTE_UNUSED)
>  {
>      virDomainPtr dom;
> +    char uuidstr[VIR_UUID_STRING_BUFLEN];
> +    int r;
>  
>      dom = get_nonnull_domain (conn, args->dom);
>      if (dom == NULL) {

Nice, a rare time when 'git rebase' silently  fubar's the code :-(

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]