info: rename a http header function
[olsrd.git] / lib / info / olsrd_info.c
index 1159184..faf47c6 100644 (file)
@@ -187,7 +187,7 @@ static void send_info(unsigned int send_what, int the_socket) {
   abuf_init(&abuf, 2 * 4096);
 
   if (info_plugin_config->http_headers) {
-    build_http_header(PLUGIN_NAME, HTTP_200, content_type, &abuf, &contentLengthIndex);
+    http_header_build(PLUGIN_NAME, HTTP_200, content_type, &abuf, &contentLengthIndex);
     headerLength = abuf.len;
   }