[gq-commit] gq/src dt_oc.c,1.18,1.19 tdefault.c,1.2,1.3
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-18 08:17:26
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv32412 Modified Files: dt_oc.c tdefault.c Log Message: * Got rid of const-related compile time warnings (A GList does not take const-pointers) Index: dt_oc.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/dt_oc.c,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** dt_oc.c 12 Oct 2003 06:14:18 -0000 1.18 --- dt_oc.c 18 Oct 2003 08:13:17 -0000 1.19 *************** *** 1,8 **** /* GQ -- a GTK-based LDAP client ! Copyright (C) 1998-2001 Bert Vermeulen ! ! This file (dt_oc.c) is ! Copyright (C) 2002 by Peter Stamfest and Bert Vermeulen This program is released under the Gnu General Public License with --- 1,6 ---- /* GQ -- a GTK-based LDAP client ! Copyright (C) 1998-2003 Bert Vermeulen ! Copyright (C) 2002-2003 Peter Stamfest This program is released under the Gnu General Public License with *************** *** 369,372 **** --- 367,372 ---- } form->server = server; + ldapserver_ref(server); + strncpy(form->attrname, oc->oc_at_oids_must[i], MAX_ATTR_LEN); *************** *** 399,402 **** --- 399,404 ---- } form->server = server; + ldapserver_ref(server); + strncpy(form->attrname, oc->oc_at_oids_may[i], MAX_ATTR_LEN); Index: tdefault.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/tdefault.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tdefault.c 5 Jun 2002 15:27:33 -0000 1.2 --- tdefault.c 18 Oct 2003 08:13:17 -0000 1.3 *************** *** 1,5 **** /* GQ -- a GTK-based LDAP client ! Copyright (C) 1998-2002 Bert Vermeulen This program is released under the Gnu General Public License with --- 1,6 ---- /* GQ -- a GTK-based LDAP client ! Copyright (C) 1998-2003 Bert Vermeulen ! Copyright (C) 2002-2003 Peter Stamfest This program is released under the Gnu General Public License with *************** *** 180,184 **** while(cryptmap[i].keyword[0]) ! combolist = g_list_append(combolist, cryptmap[i++].keyword); #endif gtk_combo_set_popdown_strings(GTK_COMBO(combo), combolist); --- 181,186 ---- while(cryptmap[i].keyword[0]) ! combolist = g_list_append(combolist, ! (char *) cryptmap[i++].keyword); #endif gtk_combo_set_popdown_strings(GTK_COMBO(combo), combolist); |