File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ int DSOLOCAL msc_status_engine_mac_address (unsigned char *mac)
182182 (unsigned char )LLADDR (sdl )[3 ],
183183 (unsigned char )LLADDR (sdl )[4 ],
184184 (unsigned char )LLADDR (sdl )[5 ]);
185- goto end ;
185+ break ;
186186 }
187187 }
188188
@@ -225,7 +225,7 @@ int DSOLOCAL msc_status_engine_mac_address (unsigned char *mac)
225225 (unsigned char )ifr -> ifr_addr .sa_data [4 ],
226226 (unsigned char )ifr -> ifr_addr .sa_data [5 ]);
227227
228- goto end ;
228+ break ;
229229 }
230230 }
231231 close ( sock );
@@ -268,15 +268,14 @@ int DSOLOCAL msc_status_engine_mac_address (unsigned char *mac)
268268 (unsigned char )pAdapter -> Address [3 ],
269269 (unsigned char )pAdapter -> Address [4 ],
270270 (unsigned char )pAdapter -> Address [5 ]);
271- goto end ;
271+ break ;
272272 }
273273 pAdapter = pAdapter -> Next ;
274274 }
275275
276276 free (pAdapterInfo );
277277#endif
278278
279- end :
280279 return 0 ;
281280failed :
282281 return -1 ;
You can’t perform that action at this time.
0 commit comments