Mercurial > urweb
view tests/formFields.ur @ 2068:b6adfe99bb08
Check realloc's return code to prevent segfault on out of memory condition (Part 2)
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Sun, 24 Aug 2014 11:56:41 +0400 |
parents | 69daa6d70299 |
children |
line wrap: on
line source
fun main (pb : postBody) : transaction page = return <xml><body> {List.mapX (fn (n, v) => <xml><li>{[n]} = {[v]}</li></xml>) (postFields pb)} </body></xml>