redis allows passwords up to 512 characters long
[collectd.git] / src / collectd.h
index c0994d1..969aeda 100644 (file)
@@ -262,7 +262,9 @@ typedef int _Bool;
 # define COLLECTD_DEFAULT_INTERVAL 10.0
 #endif
 
-#define STATIC_ARRAY_LEN(array) (sizeof (array) / sizeof ((array)[0]))
+ #ifndef COLLECTD_USERAGENT
+ # define COLLECTD_USERAGENT PACKAGE_NAME"/"PACKAGE_VERSION
+ #endif
 
 /* Remove GNU specific __attribute__ settings when using another compiler */
 #if !__GNUC__