X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Flib-config%2Fset.c;fp=apps%2Firssi%2Fsrc%2Flib-config%2Fset.c;h=61a101fb492aea9721b41474ccf6b5b8c7c92813;hb=18d69a0a1fec438e241bb4f431506ed59a34066b;hp=6cfaa48382a797ec5e7509a3a7819c490bde4ac3;hpb=f7be6adec0248118cddde9b04522c13cd90568cd;p=silc.git diff --git a/apps/irssi/src/lib-config/set.c b/apps/irssi/src/lib-config/set.c index 6cfaa483..61a101fb 100644 --- a/apps/irssi/src/lib-config/set.c +++ b/apps/irssi/src/lib-config/set.c @@ -13,9 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "module.h" @@ -59,7 +59,6 @@ void config_node_remove(CONFIG_REC *rec, CONFIG_NODE *parent, CONFIG_NODE *node) g_free(node); } -/* Remove n'th node from a list */ void config_node_list_remove(CONFIG_REC *rec, CONFIG_NODE *node, int index) { CONFIG_NODE *child; @@ -71,7 +70,6 @@ void config_node_list_remove(CONFIG_REC *rec, CONFIG_NODE *node, int index) if (child != NULL) config_node_remove(rec, node, child); } -/* Clear all data inside node, but leave the node */ void config_node_clear(CONFIG_REC *rec, CONFIG_NODE *node) { g_return_if_fail(node != NULL); @@ -161,7 +159,6 @@ int config_set_bool(CONFIG_REC *rec, const char *section, const char *key, int v return config_set_str(rec, section, key, value ? "yes" : "no"); } -/* Add all values in `array' to `node' */ void config_node_add_list(CONFIG_REC *rec, CONFIG_NODE *node, char **array) { char **tmp;