Reading/writing of the rpc.cfg network settings in the revision 43cac3700149
has some bugs (I think it is introduced in revision d2d7dbb9b08b)

file rpcemu.c

line 461 should use 'network_type' iso 'networktype', eg:
   set_config_string(NULL, "network_type", s);

lines 388-391 should make a copy of the strings. eg:
   config.username = strdup(get_config_string(NULL, "username", NULL));
   config.ipaddress = strdup(get_config_string(NULL, "ipaddress", NULL));
   config.macaddress = strdup(get_config_string(NULL, "macaddress", NULL));
   config.bridgename = strdup(get_config_string(NULL, "bridgename", NULL));
   

with kind regards

Leo

-- 
Leo Smiers
!Flash 0.410.1.1
http://fam.smiers.name

_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to