about summary refs log tree commit diff
path: root/include/libhttpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libhttpc.h')
-rw-r--r--include/libhttpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libhttpc.h b/include/libhttpc.h
index e64361c..702a662 100644
--- a/include/libhttpc.h
+++ b/include/libhttpc.h
@@ -269,8 +269,9 @@ char *LibHTTPC_dumpResponse(struct LibHTTPC_Response *response, char *buf, size_
 /**
  * Destructor for LibHTTPC_Request
  * @param request Request to free
+ * @return -1 if LibHTTPC_free is not set, errno otherwise
  */
-void LibHTTPC_Request_(struct LibHTTPC_Request *request);
+int LibHTTPC_Request_(struct LibHTTPC_Request *request);
 
 /**
  * Not implemented yet