summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox-net.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
commit0d4560cb0305029fa5f0739670286176ab47cb65 (patch)
tree9899f4324664a77e6a5884fdd1541818a28a2172 /apps/plugins/pdbox/pdbox-net.c
parenteabeb928ddfdbe5fc6379efb87d9522803310649 (diff)
downloadrockbox-0d4560cb0305029fa5f0739670286176ab47cb65.tar.gz
rockbox-0d4560cb0305029fa5f0739670286176ab47cb65.zip
Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/pdbox-net.c')
-rw-r--r--apps/plugins/pdbox/pdbox-net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox-net.c b/apps/plugins/pdbox/pdbox-net.c
index 83d9bd3b7d..f0f7013488 100644
--- a/apps/plugins/pdbox/pdbox-net.c
+++ b/apps/plugins/pdbox/pdbox-net.c
@@ -68,7 +68,7 @@ bool send_datagram(struct event_queue* route,
68 return false; 68 return false;
69 69
70 /* Copy datagram to the buffer. */ 70 /* Copy datagram to the buffer. */
71 rb->memcpy(datagrams[i].data, data, size); 71 memcpy(datagrams[i].data, data, size);
72 datagrams[i].size = size; 72 datagrams[i].size = size;
73 73
74 /* Mark datagram buffer as used. */ 74 /* Mark datagram buffer as used. */
@@ -101,7 +101,7 @@ bool receive_datagram(struct event_queue* route,
101 return false; 101 return false;
102 102
103 /* Copy datagram. */ 103 /* Copy datagram. */
104 rb->memcpy(buffer, (struct datagram*) event.data, sizeof(struct datagram)); 104 memcpy(buffer, (struct datagram*) event.data, sizeof(struct datagram));
105 105
106 /* Free datagram buffer. */ 106 /* Free datagram buffer. */
107 ((struct datagram*) event.data)->used = false; 107 ((struct datagram*) event.data)->used = false;