Commit 3f8d69e4 authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed compiler warning: return value from void function.

darcs-hash:20061218113156-7659e-2c463e5e2b83e05ef1099616c92371f5e169650f.gz
parent 03049516
......@@ -273,7 +273,7 @@ void sl_header_log(su_log_t *log, int level, char const *fmt,
return;
if ((size_t)len >= sizeof b) {
s = malloc(len + 1); if (!s) return -1;
s = malloc(len + 1); if (!s) return;
sip_header_field_e(s, len + 1, h, 0);
}
s[len] = '\0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment