[Gluster-devel] tla-603 compiler error

Harris Landgarten harrisl at lhjonline.com
Fri Dec 7 19:28:34 UTC 2007


xlators/protocol/server/src/server-protocol.c

contains the code:

mop_setvolume (call_frame_t *frame,
               xlator_t *bound_xl,
               dict_t *params)
{
  int32_t ret = -1;
  int32_t remote_errno = 0;
  dict_t *dict = get_new_dict ();
  server_proto_priv_t *priv;
  server_private_t *server_priv = NULL;
  data_t *name_data, *version_data;
  char *name, *version;
  char *name;
  xlator_t *xl;
  struct sockaddr_in *_sock = NULL;
  dict_t *config_params = dict_copy (frame->this->options, NULL);

  priv = SERVER_PRIV (frame);


*name is defined twice which causes a compile error.



Harris Landgarten
LHJ Technology Solutions, Inc.







More information about the Gluster-devel mailing list