Update adapter.c
Merge pull request #540 from odiel/patch-6

Added a new code example, using bind parameters