tool_cfgable: Code policing of structure pointers
authorSteve Holme <steve_holme@hotmail.com>
Thu, 27 Feb 2014 20:59:15 +0000 (20:59 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 27 Feb 2014 21:11:37 +0000 (21:11 +0000)
src/tool_cfgable.h

index 5d85d3c..d749343 100644 (file)
@@ -210,8 +210,8 @@ struct OperationConfig {
   bool noalpn;                /* enable/disable TLS ALPN extension */
 
   struct GlobalConfig *global;
-  struct OperationConfigprev;
-  struct OperationConfignext; /* Always last in the struct */
+  struct OperationConfig *prev;
+  struct OperationConfig *next; /* Always last in the struct */
 };
 
 struct GlobalConfig {
@@ -231,7 +231,7 @@ struct GlobalConfig {
   struct OperationConfig *last;   /* Always last in the struct */
 };
 
-void config_init(struct OperationConfigconfig);
-void config_free(struct OperationConfigconfig);
+void config_init(struct OperationConfig *config);
+void config_free(struct OperationConfig *config);
 
 #endif /* HEADER_CURL_TOOL_CFGABLE_H */