Fix copyright headers in libhashkit.
[awesomized/libmemcached] / clients / memparse.cc
index eb978f2c12eb1d3866273fc33720f082be55c4d7..ab4cee9eb7d72e949f97b0e3077c412d646dcb19 100644 (file)
@@ -2,7 +2,7 @@
  * 
  *  Libmemcached library
  *
- *  Copyright (C) 2011 Data Differential, http://datadifferential.com/
+ *  Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
  *  All rights reserved.
  *
  *  Redistribution and use in source and binary forms, with or without
 
 #include <config.h>
 
+#include <cstdio>
+#include <cstring>
 #include <iostream>
 
-#include <libmemcached/memcached.h>
+#include <libmemcached-1.0/memcached.h>
 
 int main(int argc, char *argv[])
 {
@@ -58,8 +60,8 @@ int main(int argc, char *argv[])
 
     if (rc != MEMCACHED_SUCCESS)
     {
-      std::cerr << "Failed to parse options:" << argv[x] << std::endl;
-      std::cerr << "\t" << buffer << std::endl;
+      std::cerr << "Failed to parse argument #" << x << " " << argv[x] << std::endl;
+      std::cerr << buffer << std::endl;
       return EXIT_FAILURE;
     }
   }