Revision 8808cf25 ml.c

View differences:

ml.c
120 120
/* connection functions */
121 121
int open_Connection(socketID_handle external_socketID,receive_connection_cb connection_cb,void *arg){
122 122

  
123
  int return_val = open_connection(external_socketID,connection_cb,arg);
123
  return open_connection(external_socketID,connection_cb,arg);
124 124

  
125
  return return_val;
126 125
}
127 126

  
128 127
void close_Connection(const int connectionID){
......
134 133
/* transmit data functions  */
135 134
int send_All_data(const int connectionID,send_all_data_container *container,int nr_entries,unsigned char msgtype,send_params *sParams){
136 135

  
137
  int returnvalue = send_all_data(connectionID,container,nr_entries,msgtype,sParams);
138
  return returnvalue;
136
  return send_all_data(connectionID,container,nr_entries,msgtype,sParams);
139 137

  
140 138
}
141 139

  
......
147 145

  
148 146
int recv_Data(const int connectionID,char *recvbuf,int *bufsize,recv_params *rParams){
149 147

  
150
  int i;
151
  i = recv_data(connectionID,recvbuf,bufsize,rParams);
152
  return i;
148
  return recv_data(connectionID,recvbuf,bufsize,rParams);
153 149

  
154 150
}
155 151

  
......
168 164

  
169 165
int get_Standard_ttl(socketID_handle socketID,uint8_t *ttl){
170 166

  
171
  int returnValue = get_standard_ttl(socketID,ttl);
167
  return get_standard_ttl(socketID,ttl);
172 168

  
173
  return returnValue;
174 169
}
175 170

  
176 171
socketID_handle get_Local_socketID(int *errorstatus){
177 172

  
178
  socketID_handle local_socketID = get_local_socketID(errorstatus);
179

  
180
  return local_socketID;
173
  return get_local_socketID(errorstatus);
181 174

  
182 175
}
183 176

  
184 177
int get_External_IP(char* external_addr){
185 178

  
186
  int returnvalue = get_external_IP(external_addr);
187

  
188
  return returnvalue; 
179
  return get_external_IP(external_addr);
189 180

  
190 181
}
191 182

  
192 183
int socketID_To_String(socketID_handle socketID,char* socketID_string, size_t len){
193 184

  
194
  int returnvalue  = socketID_to_String(socketID,socketID_string, len);
195

  
196
  return returnvalue;
185
  return socketID_to_String(socketID,socketID_string, len);
197 186

  
198 187
}
199 188

  
200 189
int string_To_SocketID(char* socketID_string, socketID_handle socketID){
201 190

  
202
  int returnvalue = string_to_socketID(socketID_string, socketID);
191
  return string_to_socketID(socketID_string, socketID);
203 192

  
204
  return returnvalue;
205 193
}
206 194

  
207 195
int get_Connection_status(int connectionID){
208 196

  
209
  int returnvalue  = get_connection_status(connectionID);
210

  
211
  return returnvalue;
197
  return get_connection_status(connectionID);
212 198
    
213 199
}
214 200

  
215 201

  
216 202
int connection_Exist(socketID_handle socketID){
217 203

  
218
  int returnvalue  = connection_exist(socketID);
219

  
220
  return returnvalue;
204
  return connection_exist(socketID);
221 205

  
222 206
}
223 207

  

Also available in: Unified diff