about summary refs log tree commit diff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-15T14·01+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-15T14·01+0100
commit8541d27fce95f1f6a4a6c89bcbc09503ff7ea092 (patch)
tree211d86e5d5724703fc5c58e10044b812089d9420 /src/libstore/remote-store.cc
parent3acc8adcad4066329913cf9ad4e1ccc535f73032 (diff)
Don't use std::cerr in a few places
Slightly scared of using std::cerr in a vforked process...
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 16b5db80822f..c97c5fbf044e 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -556,7 +556,7 @@ void RemoteStore::processStderr(Sink * sink, Source * source)
         }
         else {
             string s = readString(from);
-            writeToStderr((const unsigned char *) s.data(), s.size());
+            writeToStderr(s);
         }
     }
     if (msg == STDERR_ERROR) {