Created attachment 11382 [details]
Work around missing %m modifier
There are two places in source4/lib/http/http.c where '%m'(%a before) is used to allocate buffer for the scanned substring. Unfortunatelly, at least on FreeBSD (s)scanf() doesn't implement those modifiers.
I attach quick and dirty fix I've implemented to work around this problem, but proper fix is necessary.
Also, DEBUG(11,...) uses values that may not be defined at the point of invocation.