/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/seamless.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/branches/seamlessrdp-branch/rdesktop/seamless.c

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

revision 1120 by astrand, Wed Mar 15 06:55:29 2006 UTC revision 1121 by astrand, Wed Mar 15 08:18:05 2006 UTC
# Line 87  seamless_process_line(const char *line, Line 87  seamless_process_line(const char *line,
87                  if (!tok4)                  if (!tok4)
88                          return False;                          return False;
89    
90                  id = strtoll(tok2, &endptr, 0);                  id = strtoul(tok2, &endptr, 0);
91                  if (*endptr)                  if (*endptr)
92                          return False;                          return False;
93    
94                  parent = strtoll(tok3, &endptr, 0);                  parent = strtoul(tok3, &endptr, 0);
95                  if (*endptr)                  if (*endptr)
96                          return False;                          return False;
97    
98                  flags = strtol(tok4, &endptr, 0);                  flags = strtoul(tok4, &endptr, 0);
99                  if (*endptr)                  if (*endptr)
100                          return False;                          return False;
101    
# Line 106  seamless_process_line(const char *line, Line 106  seamless_process_line(const char *line,
106                  if (!tok3)                  if (!tok3)
107                          return False;                          return False;
108    
109                  id = strtoll(tok2, &endptr, 0);                  id = strtoul(tok2, &endptr, 0);
110                  if (*endptr)                  if (*endptr)
111                          return False;                          return False;
112    
113                  flags = strtol(tok3, &endptr, 0);                  flags = strtoul(tok3, &endptr, 0);
114                  if (*endptr)                  if (*endptr)
115                          return False;                          return False;
116    
# Line 128  seamless_process_line(const char *line, Line 128  seamless_process_line(const char *line,
128                  if (!tok7)                  if (!tok7)
129                          return False;                          return False;
130    
131                  id = strtoll(tok2, &endptr, 0);                  id = strtoul(tok2, &endptr, 0);
132                  if (*endptr)                  if (*endptr)
133                          return False;                          return False;
134    
135                  x = strtol(tok3, &endptr, 0);                  x = strtoul(tok3, &endptr, 0);
136                  if (*endptr)                  if (*endptr)
137                          return False;                          return False;
138                  y = strtol(tok4, &endptr, 0);                  y = strtoul(tok4, &endptr, 0);
139                  if (*endptr)                  if (*endptr)
140                          return False;                          return False;
141    
142                  width = strtol(tok5, &endptr, 0);                  width = strtoul(tok5, &endptr, 0);
143                  if (*endptr)                  if (*endptr)
144                          return False;                          return False;
145                  height = strtol(tok6, &endptr, 0);                  height = strtoul(tok6, &endptr, 0);
146                  if (*endptr)                  if (*endptr)
147                          return False;                          return False;
148    
149                  flags = strtol(tok7, &endptr, 0);                  flags = strtoul(tok7, &endptr, 0);
150                  if (*endptr)                  if (*endptr)
151                          return False;                          return False;
152    
# Line 161  seamless_process_line(const char *line, Line 161  seamless_process_line(const char *line,
161                  if (!tok4)                  if (!tok4)
162                          return False;                          return False;
163    
164                  id = strtoll(tok2, &endptr, 0);                  id = strtoul(tok2, &endptr, 0);
165                  if (*endptr)                  if (*endptr)
166                          return False;                          return False;
167    
168                  flags = strtol(tok4, &endptr, 0);                  flags = strtoul(tok4, &endptr, 0);
169                  if (*endptr)                  if (*endptr)
170                          return False;                          return False;
171    
# Line 178  seamless_process_line(const char *line, Line 178  seamless_process_line(const char *line,
178                  if (!tok4)                  if (!tok4)
179                          return False;                          return False;
180    
181                  id = strtoll(tok2, &endptr, 0);                  id = strtoul(tok2, &endptr, 0);
182                  if (*endptr)                  if (*endptr)
183                          return False;                          return False;
184    
185                  state = strtol(tok3, &endptr, 0);                  state = strtoul(tok3, &endptr, 0);
186                  if (*endptr)                  if (*endptr)
187                          return False;                          return False;
188    
189                  flags = strtol(tok4, &endptr, 0);                  flags = strtoul(tok4, &endptr, 0);
190                  if (*endptr)                  if (*endptr)
191                          return False;                          return False;
192    

Legend:
Removed from v.1120  
changed lines
  Added in v.1121

  ViewVC Help
Powered by ViewVC 1.1.26