/[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 1121 by astrand, Wed Mar 15 08:18:05 2006 UTC revision 1125 by astrand, Wed Mar 15 11:34:55 2006 UTC
# Line 132  seamless_process_line(const char *line, Line 132  seamless_process_line(const char *line,
132                  if (*endptr)                  if (*endptr)
133                          return False;                          return False;
134    
135                  x = strtoul(tok3, &endptr, 0);                  x = strtol(tok3, &endptr, 0);
136                  if (*endptr)                  if (*endptr)
137                          return False;                          return False;
138                  y = strtoul(tok4, &endptr, 0);                  y = strtol(tok4, &endptr, 0);
139                  if (*endptr)                  if (*endptr)
140                          return False;                          return False;
141    
142                  width = strtoul(tok5, &endptr, 0);                  width = strtol(tok5, &endptr, 0);
143                  if (*endptr)                  if (*endptr)
144                          return False;                          return False;
145                  height = strtoul(tok6, &endptr, 0);                  height = strtol(tok6, &endptr, 0);
146                  if (*endptr)                  if (*endptr)
147                          return False;                          return False;
148    
# Line 196  seamless_process_line(const char *line, Line 196  seamless_process_line(const char *line,
196          {          {
197                  printf("SeamlessRDP:%s\n", line);                  printf("SeamlessRDP:%s\n", line);
198          }          }
199            else if (!strcmp("SYNCBEGIN", tok1))
200            {
201                    if (!tok2)
202                            return False;
203    
204                    flags = strtoul(tok2, &endptr, 0);
205                    if (*endptr)
206                            return False;
207    
208                    ui_seamless_syncbegin(flags);
209            }
210            else if (!strcmp("SYNCEND", tok1))
211            {
212                    if (!tok2)
213                            return False;
214    
215                    flags = strtoul(tok2, &endptr, 0);
216                    if (*endptr)
217                            return False;
218    
219                    /* do nothing, currently */
220            }
221    
222    
223          xfree(l);          xfree(l);
224          return True;          return True;

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

  ViewVC Help
Powered by ViewVC 1.1.26