client: Do not leak buffer tree node on exit.
[paraslash.git] / net.h
diff --git a/net.h b/net.h
index a1af08ae94ea521cc856c2a1c40b4873ab148163..80f5794466fe74b8dbb429ad2ae2d38415945dba 100644 (file)
--- a/net.h
+++ b/net.h
@@ -60,9 +60,9 @@ struct flowopts;
 
 extern struct flowopts *flowopt_new(void);
 extern void flowopt_add(struct flowopts *fo, int level, int opt,
-                       char *name, const void *val, int len);
+               const char *name, const void *val, int len);
 extern void flowopt_add_bool(struct flowopts *fo, int lev, int opt,
-                            char *optname, bool on_or_off);
+               const char *optname, bool on_or_off);
 /** Flowopt shortcut macros */
 #define OPT_ADD(fo, lev, opt, val, len)        flowopt_add(fo, lev, opt, #opt, val, len)
 #define OPT_ENABLE(fo, lev, opt)       flowopt_add_bool(fo, lev, opt, #opt, 1)