projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4cd0c2
)
use FEATURE_AUTOCMD for AU_REQUEST_QUEUED
author
Sébastien Marie
<semarie@users.noreply.github.com>
Tue, 28 Oct 2014 12:27:44 +0000
(13:27 +0100)
committer
Sébastien Marie
<semarie@users.noreply.github.com>
Tue, 28 Oct 2014 12:27:44 +0000
(13:27 +0100)
call to autocmd_run need to be conditionnal defined with FEATURE_AUTOCMD
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
027cd3c
..
ae4009f
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1495,13
+1495,14
@@
static void read_from_stdin(void)
static void session_request_queued_cb(SoupSession *session, SoupMessage *msg, gpointer data)
{
+#ifdef FEATURE_AUTOCMD
SoupURI *suri = soup_message_get_uri(msg);
char *uri = soup_uri_to_string(suri, false);
autocmd_run(AU_REQUEST_QUEUED, uri, NULL);
g_free(uri);
-
+#endif
#ifdef DEBUG
SoupMessageHeadersIter iter;
const char *name, *value;