summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-12-30 13:46:55 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-12-30 13:46:55 +0000
commitacc4439060acbbcd155e9095dacdf0e3cced3665 (patch)
tree1df7c7f5fa9a76af50b0fd08e3cb22e1d3e5162e /legacy/emotion/src
parentfa3ca325d32897fb71b5dacf16e37aad77225f80 (diff)
shhhhh warnings
SVN revision: 66695
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/generic/emotion_generic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/emotion/src/modules/generic/emotion_generic.c b/legacy/emotion/src/modules/generic/emotion_generic.c
index 3ed8cfe8d9..ef7a4c21f8 100644
--- a/legacy/emotion/src/modules/generic/emotion_generic.c
+++ b/legacy/emotion/src/modules/generic/emotion_generic.c
@@ -107,19 +107,19 @@ _player_send_cmd(Emotion_Generic_Video *ev, int cmd)
107 ERR("invalid command to player."); 107 ERR("invalid command to player.");
108 return; 108 return;
109 } 109 }
110 write(ev->fd_write, &cmd, sizeof(cmd)); 110 if (write(ev->fd_write, &cmd, sizeof(cmd)) < 0) perror("write");
111} 111}
112 112
113static void 113static void
114_player_send_int(Emotion_Generic_Video *ev, int number) 114_player_send_int(Emotion_Generic_Video *ev, int number)
115{ 115{
116 write(ev->fd_write, &number, sizeof(number)); 116 if (write(ev->fd_write, &number, sizeof(number)) < 0) perror("write");
117} 117}
118 118
119static void 119static void
120_player_send_float(Emotion_Generic_Video *ev, float number) 120_player_send_float(Emotion_Generic_Video *ev, float number)
121{ 121{
122 write(ev->fd_write, &number, sizeof(number)); 122 if (write(ev->fd_write, &number, sizeof(number)) < 0) perror("write");
123} 123}
124 124
125static void 125static void
@@ -131,8 +131,8 @@ _player_send_str(Emotion_Generic_Video *ev, const char *str, Eina_Bool stringsha
131 len = eina_stringshare_strlen(str) + 1; 131 len = eina_stringshare_strlen(str) + 1;
132 else 132 else
133 len = strlen(str) + 1; 133 len = strlen(str) + 1;
134 write(ev->fd_write, &len, sizeof(len)); 134 if (write(ev->fd_write, &len, sizeof(len)) < 0) perror("write");
135 write(ev->fd_write, str, len); 135 if (write(ev->fd_write, str, len) < 0) perror("write");
136} 136}
137 137
138static Eina_Bool 138static Eina_Bool