[server] Fix a build error

After applied this commit (253b4fba), ccnet_session_prepare()'s signature
has been changed, and we will get a build error message.  So fix it.