Skip to content
Snippets Groups Projects

smaller changes, mainly around lua error handling

Merged Vladimír Čunát requested to merge nitpicks-lua into master
All threads resolved!
Viewing commit c5e9fd26
Show latest version
2 files
+ 5
0
Preferences
Compare changes
Files
2
+ 1
0
@@ -308,6 +308,7 @@ int kr_straddr_subnet(void *dst, const char *addr);
* length > MIN(strlen(addr), INET6_ADDRSTRLEN + 1)
* \param port[out] written in case it's specified in addr
* \return pointer to address without port (zero-terminated string)
* \note Typically you follow this by kr_straddr_socket().
*/
KR_EXPORT
const char * kr_straddr_split(const char *addr, char *buf, uint16_t *port);