Parent Directory | Revision Log | Patch
revision 1.33 by hauk, Tue Dec 17 19:55:17 2002 UTC | revision 1.34 by martinp, Tue Dec 17 20:20:57 2002 UTC | |
---|---|---|
# | Line 491 static void do_default() { | Line 491 static void do_default() { |
491 | if(is_rcfile_changed()) { | if(is_rcfile_changed()) { |
492 | ||
493 | int port= Run.httpdport; | int port= Run.httpdport; |
494 | char *bind_addr= Run.bind_addr?xstrdup(Run.bind_addr):NULL; | |
495 | ||
496 | do_reinit(); | do_reinit(); |
497 | ||
# | Line 498 static void do_default() { | Line 499 static void do_default() { |
499 | ||
500 | stop_http(); | stop_http(); |
501 | ||
502 | } else if (port != Run.httpdport) { | } else if( !is(bind_addr, Run.bind_addr) || port != Run.httpdport ) { |
503 | ||
504 | stop_http(); | stop_http(); |
505 | start_http(); | start_http(); |
# | Line 508 static void do_default() { | Line 509 static void do_default() { |
509 | start_http(); | start_http(); |
510 | ||
511 | } | } |
512 | ||
513 | free(bind_addr); | |
514 | ||
515 | } | } |
516 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |