/[gnokii]/gnokii/common/phones/nk6510.c
ViewVC logotype

Diff of /gnokii/common/phones/nk6510.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.184 by bozo, Tue Aug 30 21:52:24 2005 UTC revision 1.185 by pkot, Mon Sep 5 21:15:10 2005 UTC
# Line 1903  static gn_error NK6510_IncomingFile(int Line 1903  static gn_error NK6510_IncomingFile(int
1903                  data->file_list->file_count = 0;                  data->file_list->file_count = 0;
1904                  j = 0;                  j = 0;
1905                  if (length > 0xe8) {                  if (length > 0xe8) {
1906                            /* first 4 octets are for the length */
1907                            /* next 4 octets are for the type (?) */
1908                            /* then pairs (len, location) */
1909                          for (i = 250; i < length ;) {                          for (i = 250; i < length ;) {
1910                                  int k, len = 2 * (message[i] * 256 + message[i+1]);                                  int k, len = 2 * (message[i] * 256 + message[i+1]);
1911                                  data->file_list->file_count++;                                  data->file_list->file_count++;

Legend:
Removed from v.1.184  
changed lines
  Added in v.1.185

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26