diff -uNr gammu-0.95.0/common/phone/nokia/dct4/n6510.c gammu-patched/common/phone/nokia/dct4/n6510.c --- gammu-0.95.0/common/phone/nokia/dct4/n6510.c 2004-05-02 20:46:16.000000000 +0800 +++ gammu-patched/common/phone/nokia/dct4/n6510.c 2004-05-05 21:42:59.380409000 +0800 @@ -3425,7 +3425,7 @@ /* Method 1 */ error=N71_65_GetCalendarInfo1(s, &s->Phone.Data.Priv.N6510.LastCalendar); if (error!=ERR_NONE) return error; - Status->Used = LastCalendar->Number; + Status->Used = s->Phone.Data.Priv.N6510.LastCalendar.Number; return ERR_NONE; #endif