Re: XForms: problems with fl_get_choice_text

Bjoern Fuerst (fuerst@kph.uni-mainz.de)
Fri, 07 Nov 1997 10:18:28 +0100 (CET)

To subscribers of the xforms list from Bjoern Fuerst <fuerst@kph.uni-mainz.de> :

On 06-Nov-97 Joel Weiner wrote:
>To subscribers of the xforms list from weiner@mcci-arl-va.com (Joel Weiner) :

>
>>> sscanf((char *)datum(),"%*s %s %d %s %d",monat,&tag,time_string,&jahr);
>>>
>I believe that sscanf requires time_string to point to allocated memory.

Yes, right. I'm sorry I forgot to write it in the mail.
It is allocated via

time_string=(char *)malloc(sizeof(char)*10);

Thanks

Bjoern
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/