[gq-commit] gq/src input.c,1.46,1.47
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2002-09-18 09:46:57
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv4052 Modified Files: input.c Log Message: * This should change the behaviour of the New | Use current entry popup menu entry to not add a leading comma to the proposed DN. This _might_ make more sense than to have that comma. It is a matter of taste though. I think this reverts the behaviour back to how it used to be... Index: input.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/input.c,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** input.c 10 Aug 2002 06:06:38 -0000 1.46 --- input.c 18 Sep 2002 09:46:54 -0000 1.47 *************** *** 736,742 **** gq_exploded_free(oldrdn); #else ! newdn = g_malloc(strlen(dn) + 2); ! strcpy(newdn, ","); /* Flawfinder: ignore */ ! strcat(newdn, dn); /* Flawfinder: ignore */ #endif --- 736,742 ---- gq_exploded_free(oldrdn); #else ! newdn = g_malloc(strlen(dn) + 1); ! /* strcpy(newdn, ","); */ /* Flawfinder: ignore */ ! strcpy(newdn, dn); /* Flawfinder: ignore */ #endif |