Home | History | Annotate | Download | only in dropbear

Lines Matching full:errstring

184  * failure, if errstring wasn't NULL, it'll be a newly malloced error
187 int *socks, unsigned int sockcount, char **errstring, int *maxfd) {
218 if (errstring != NULL && *errstring == NULL) {
221 *errstring = (char*)m_malloc(len);
222 snprintf(*errstring, len, "Error resolving: %s", gai_strerror(err));
284 if (errstring != NULL && *errstring == NULL) {
287 *errstring = (char*)m_malloc(len);
288 snprintf(*errstring, len, "Error listening: %s", strerror(err));
299 * return immediately if nonblocking is set. On failure, if errstring
304 int nonblocking, char ** errstring) {
312 if (errstring != NULL) {
313 *errstring = NULL;
322 if (errstring != NULL && *errstring == NULL) {
325 *errstring = (char*)m_malloc(len);
326 snprintf(*errstring, len, "Error resolving: %s", gai_strerror(err));
346 if (errstring != NULL && *errstring == NULL) {
347 *errstring = m_strdup("Failed non-blocking");
371 if (errstring != NULL && *errstring == NULL) {
374 *errstring = (char*)m_malloc(len);
375 snprintf(*errstring, len, "Error connecting: %s", strerror(err));
384 if (sock > 0 && errstring != NULL && *errstring != NULL) {
385 m_free(*errstring);