Fixed wrong strtol for stat.
author <brian@localhost.localdomain> <>
Mon, 21 Apr 2008 18:21:12 +0000 (11:21 -0700)
committer <brian@localhost.localdomain> <>
Mon, 21 Apr 2008 18:21:12 +0000 (11:21 -0700)
libmemcached/memcached_stats.c

index a1ef99f3a945b374bdf7b5ad1d3bbc05e7da4a26..3abc9b195e5391949f9111b93c9736eea6df12c0 100644 (file)
@@ -130,7 +130,7 @@ static void set_data(memcached_stat_st *stat, char *key, char *value)
   }
   else if (!strcmp("limit_maxbytes", key))
   {
-    stat->limit_maxbytes= strtol(value, (char **)NULL, 10);
+    stat->limit_maxbytes= strtoll(value, (char **)NULL, 10);
   }
   else if (!strcmp("threads", key))
   {