Index: device.c =================================================================== RCS file: /cvsroot/gnokii/gnokii/common/device.c,v retrieving revision 1.36 diff -u -r1.36 device.c --- device.c 20 Apr 2005 22:33:36 -0000 1.36 +++ device.c 13 Jun 2005 17:53:36 -0000 @@ -59,6 +59,8 @@ dprintf("Serial device: opening device %s\n", file); + state->device.device_instance = NULL; + switch (state->device.type) { case GN_CT_DKU2: case GN_CT_Serial: