Fix issue with multiple use of "DEBUG"
[awesomized/libmemcached] / clients / memflush.c
index 4cce8cb0b0fb49d150a61f1018fe238f5395de8a..813bf9e133e38cd9ff0c42f41a1fce442b1b8a85 100644 (file)
@@ -8,8 +8,8 @@
  * Summary:
  *
  */
+#include "config.h"
 
-#include "libmemcached/common.h"
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
   if (!initialize_sasl(memc, opt_username, opt_passwd))
   {
     memcached_free(memc);
-    return 1;
+    return EXIT_FAILURE;
   }
 
   rc = memcached_flush(memc, opt_expire);
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
 
   shutdown_sasl();
 
-  return 0;
+  return EXIT_SUCCESS;
 }