[Dhcp-agent-commits] dhcp-agent dhcp-client-conf.c,1.9,1.10
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2002-06-17 02:50:15
|
Update of /cvsroot/dhcp-agent/dhcp-agent In directory usw-pr-cvs1:/tmp/cvs-serv17948 Modified Files: dhcp-client-conf.c Log Message: fix so that the dumping of options outputs properly Index: dhcp-client-conf.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/dhcp-client-conf.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** dhcp-client-conf.c 17 Jun 2002 02:26:39 -0000 1.9 --- dhcp-client-conf.c 17 Jun 2002 02:50:08 -0000 1.10 *************** *** 83,88 **** for(i = 0;i < default_config_options_len; i++) { ! if((fputs(dhcp_options_strings[default_config_options[i]], fp) == EOF)|| ! (fputs("\n", fp) == EOF)) { warn_message("could not dump options to file. I'm going to continue anyway."); fclose(fp); --- 83,87 ---- for(i = 0;i < default_config_options_len; i++) { ! if(fprintf(fp, "\"%s\"\n",dhcp_options_strings[default_config_options[i]]) < 0) { warn_message("could not dump options to file. I'm going to continue anyway."); fclose(fp); |