Lines Matching refs:errstring
187 int *socks, unsigned int sockcount, char **errstring, int *maxfd) { in dropbear_listen() argument
218 if (errstring != NULL && *errstring == NULL) { in dropbear_listen()
221 *errstring = (char*)m_malloc(len); in dropbear_listen()
222 snprintf(*errstring, len, "Error resolving: %s", gai_strerror(err)); in dropbear_listen()
284 if (errstring != NULL && *errstring == NULL) { in dropbear_listen()
287 *errstring = (char*)m_malloc(len); in dropbear_listen()
288 snprintf(*errstring, len, "Error listening: %s", strerror(err)); in dropbear_listen()
304 int nonblocking, char ** errstring) { in connect_remote() argument
312 if (errstring != NULL) { in connect_remote()
313 *errstring = NULL; in connect_remote()
322 if (errstring != NULL && *errstring == NULL) { in connect_remote()
325 *errstring = (char*)m_malloc(len); in connect_remote()
326 snprintf(*errstring, len, "Error resolving: %s", gai_strerror(err)); in connect_remote()
346 if (errstring != NULL && *errstring == NULL) { in connect_remote()
347 *errstring = m_strdup("Failed non-blocking"); in connect_remote()
371 if (errstring != NULL && *errstring == NULL) { in connect_remote()
374 *errstring = (char*)m_malloc(len); in connect_remote()
375 snprintf(*errstring, len, "Error connecting: %s", strerror(err)); in connect_remote()
384 if (sock > 0 && errstring != NULL && *errstring != NULL) { in connect_remote()
385 m_free(*errstring); in connect_remote()