Indent fix
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@985 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
d0be804677
commit
fbe5a9dca1
4
disk.c
4
disk.c
@ -491,7 +491,7 @@ disk_create(uint32 device_id, uint32 accessmask, uint32 sharemode, uint32 create
|
||||
g_fileinfo[handle].device_id = device_id;
|
||||
g_fileinfo[handle].flags_and_attributes = flags_and_attributes;
|
||||
g_fileinfo[handle].accessmask = accessmask;
|
||||
strncpy(g_fileinfo[handle].path, path, PATH_MAX-1);
|
||||
strncpy(g_fileinfo[handle].path, path, PATH_MAX - 1);
|
||||
g_fileinfo[handle].delete_on_close = False;
|
||||
g_notify_stamp = True;
|
||||
|
||||
@ -1130,7 +1130,7 @@ disk_query_directory(NTHANDLE handle, uint32 info_class, char *pattern, STREAM o
|
||||
/* If a search pattern is received, remember this pattern, and restart search */
|
||||
if (pattern[0] != 0)
|
||||
{
|
||||
strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX-1);
|
||||
strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX - 1);
|
||||
rewinddir(pdir);
|
||||
}
|
||||
|
||||
|
@ -240,7 +240,7 @@ wave_out_play(void)
|
||||
out->p += len;
|
||||
}
|
||||
|
||||
ao_play(o_device, (char*)outbuf, len);
|
||||
ao_play(o_device, (char *) outbuf, len);
|
||||
|
||||
gettimeofday(&tv, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user