mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres: sres_record_type() now checks pointer argument git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11952 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
85315adc1b
commit
f10955584c
@ -1 +1 @@
|
|||||||
Thu Feb 12 15:16:22 CST 2009
|
Thu Feb 12 15:17:34 CST 2009
|
||||||
|
@ -1533,7 +1533,8 @@ char const *sres_record_type(int type, char buffer[8])
|
|||||||
case sres_qtype_any: return "ANY";
|
case sres_qtype_any: return "ANY";
|
||||||
|
|
||||||
default:
|
default:
|
||||||
sprintf(buffer, "%u?", type & 65535);
|
if (buffer)
|
||||||
|
sprintf(buffer, "%u?", type & 65535);
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user