Revision 24ec057a src/rm/RequestManagerHostAllocate.cc

View differences:

src/rm/RequestManagerHostAllocate.cc
101 101
    goto error_common;
102 102

  
103 103
error_authorize:
104
    oss.str(authorization_error(method_name, "CREATE", "HOST", rc, NULL));
104
    oss.str(authorization_error(method_name, "CREATE", "HOST", rc, -1));
105 105
    goto error_common;
106 106

  
107 107
error_host_allocate:
108
    oss.str(action_error(method_name, "CREATE", "HOST", NULL, rc));
108
    oss.str(action_error(method_name, "CREATE", "HOST", -1, rc));
109 109
    goto error_common;
110 110

  
111 111
error_common:

Also available in: Unified diff