]> git.tue.mpg.de Git - paraslash.git/commit
Fix some bugs in blob handling.
authorAndre Noll <maan@systemlinux.org>
Sat, 22 Sep 2007 12:45:21 +0000 (14:45 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 22 Sep 2007 12:45:21 +0000 (14:45 +0200)
commit4c2a8737d3867f7ec8ee4d858e981c1b62e29759
tree8ed4ffef7fdf90487704eeb02c9a2cc6678e137e
parentab6cab06766f86086b53f2720d566f7ddf70db4c
Fix some bugs in blob handling.

- make fd2buf() decrypt the received data.
- stdin_command() has to read from the socket fd rather than from stdin.
  Moreover, it must send the AWAITING_DATA_MSG to the client.
- com_catblob() really needs to use send_bin_buffer() rather than send_buffer().
- com_addblob() has to pass the socket fd to stdin_command().
afs.c
blob.c