Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@878 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
3921776285
commit
f5bce2e0a9
13
disk.c
13
disk.c
@ -120,13 +120,14 @@ struct dummy_statfs_t
|
||||
int f_namemax;
|
||||
};
|
||||
|
||||
int dummy_statfs(struct dummy_statfs_t *buf)
|
||||
int
|
||||
dummy_statfs(struct dummy_statfs_t *buf)
|
||||
{
|
||||
buf->f_blocks=262144;
|
||||
buf->f_bfree=131072;
|
||||
buf->f_bsize=512;
|
||||
buf->f_namelen=255;
|
||||
buf->f_namemax=255;
|
||||
buf->f_blocks = 262144;
|
||||
buf->f_bfree = 131072;
|
||||
buf->f_bsize = 512;
|
||||
buf->f_namelen = 255;
|
||||
buf->f_namemax = 255;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
2
orders.c
2
orders.c
@ -935,7 +935,7 @@ process_bmpcache(STREAM s)
|
||||
/* Begin compressedBitmapData */
|
||||
in_uint16_le(s, pad2); /* pad */
|
||||
in_uint16_le(s, size);
|
||||
/* in_uint8s(s, 4); */ /* row_size, final_size */
|
||||
/* in_uint8s(s, 4); *//* row_size, final_size */
|
||||
in_uint16_le(s, row_size);
|
||||
in_uint16_le(s, final_size);
|
||||
|
||||
|
4
rdp.c
4
rdp.c
@ -161,7 +161,7 @@ rdp_out_unistr(STREAM s, char *string, int len)
|
||||
#ifdef HAVE_ICONV
|
||||
size_t ibl = strlen(string), obl = len + 2;
|
||||
static iconv_t iconv_h = (iconv_t) - 1;
|
||||
char *pin = string, *pout = (char *)s->p;
|
||||
char *pin = string, *pout = (char *) s->p;
|
||||
|
||||
memset(pout, 0, len + 4);
|
||||
|
||||
@ -234,7 +234,7 @@ rdp_in_unistr(STREAM s, char *string, int uni_len)
|
||||
{
|
||||
#ifdef HAVE_ICONV
|
||||
size_t ibl = uni_len, obl = uni_len;
|
||||
char *pin = (char *)s->p, *pout = string;
|
||||
char *pin = (char *) s->p, *pout = string;
|
||||
static iconv_t iconv_h = (iconv_t) - 1;
|
||||
|
||||
if (g_iconv_works)
|
||||
|
2
rdpdr.c
2
rdpdr.c
@ -959,7 +959,7 @@ _rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out)
|
||||
{
|
||||
|
||||
/* iv_timeout between 2 chars, send partial_len */
|
||||
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length);*/
|
||||
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length); */
|
||||
rdpdr_send_completion(iorq->device,
|
||||
iorq->id, STATUS_SUCCESS,
|
||||
iorq->partial_len,
|
||||
|
Loading…
Reference in New Issue
Block a user