ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/ihost/ihost.c
(Generate patch)

Comparing projects/cms/source/ihost/ihost.c (file contents):
Revision 1.45 by tdb, Mon Jan 5 16:47:09 2004 UTC vs.
Revision 1.47 by tdb, Tue Jan 6 23:05:45 2004 UTC

# Line 741 | Line 741 | int main(int argc, char **argv){
741          ihost_state.file_list=NULL;
742          ihost_state.last_modified=NULL;
743  
744 <        while((cmdopt=getopt(argc, argv, "vfhVs:i:")) != -1){
744 >        while((cmdopt=getopt(argc, argv, "vfVn:i:s:p:h")) != -1){
745                  switch(cmdopt){
746                          case 'v':
747                                  ihost_config.verbose++;
# Line 847 | Line 847 | int main(int argc, char **argv){
847                  }
848          }
849  
850
850          /* Get the initial config from the filter manager. Should this fail,
851           * wait, and then try again. */
852  
# Line 859 | Line 858 | int main(int argc, char **argv){
858                  sleep(10);
859          }
860  
862        /*printf("%s\n%d\n", ihost_state.server_fqdn, ihost_state.server_udp_port);*/
861          while((create_udp_sockinfo(&udp_sockinfo, ihost_state.server_fqdn, ihost_state.server_udp_port))!=0){
862                  log_msg(LOG_ERR, "Failed to create udp socket");        
863                  sleep(10);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines