~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to clients/execute.c

  • Committer: Brian Aker
  • Date: 2011-03-17 21:45:08 UTC
  • Revision ID: brian@tangent.org-20110317214508-ogufz6pusakvcch0
Merge in updates to make sure exit/return is done properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
      fprintf(stderr, "Failed to execute mget: %s\n",
117
117
              memcached_strerror(memc, rc));
118
118
      memcached_quit(memc);
119
 
      return 0;
 
119
      return EXIT_SUCCESS;
120
120
    }
121
121
  }
122
122
  else
124
124
    fprintf(stderr, "Failed to execute mget: %s\n",
125
125
            memcached_strerror(memc, rc));
126
126
    memcached_quit(memc);
127
 
    return 0;
 
127
    return EXIT_SUCCESS;
128
128
  }
129
129
 
130
130
  return retrieved;