Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http: export http_server variable
  • Loading branch information
perexg committed Mar 11, 2015
1 parent c19217e commit 97f52f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.c
Expand Up @@ -37,7 +37,7 @@
#include "notify.h"
#include "channels.h"

static void *http_server;
void *http_server;

static LIST_HEAD(, http_path) http_paths;

Expand Down
1 change: 1 addition & 0 deletions src/http.h
Expand Up @@ -146,6 +146,7 @@ typedef struct http_connection {

} http_connection_t;

extern void *http_server;

const char *http_cmd2str(int val);
int http_str2cmd(const char *str);
Expand Down

0 comments on commit 97f52f6

Please sign in to comment.