This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project iwhd.git.
The branch, master has been updated
via d003a5d273b985ea3135cbd34c139191d394d8ac (commit)
from 5a88451cf5e0e69635a9dc4eacbb7f2606256fcc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/iwhd.git/commit/d003a5d273b985ea3135cbd34c139191d394d8ac
commit d003a5d273b985ea3135cbd34c139191d394d8ac
Author: Jim Meyering <meyering(a)redhat.com>
Date: Tue Oct 19 19:02:08 2010 +0200
clean-up: move file-scoped global into "main"
* rest.c (main): Move "autostart" into main.
diff --git a/rest.c b/rest.c
index 9023be2..d09e7c1 100644
--- a/rest.c
+++ b/rest.c
@@ -66,7 +66,6 @@ typedef struct {
} rule;
static unsigned short my_port = MY_PORT;
-static int autostart = 0;
const char *program_name;
char *cfg_file = NULL;
@@ -1907,6 +1906,7 @@ main (int argc, char **argv)
sem_t the_sem;
char *stctx = NULL;
char *port_tmp;
+ int autostart = 0;
program_name = argv[0];
-----------------------------------------------------------------------
Summary of changes:
rest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
repo.or.cz automatic notification. Contact project admin jim(a)meyering.net
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
iwhd.git ("image warehouse daemon")