cn-uofbasel / ccn-lite

CCN-lite, a lightweight implementation of the CCNx protocol and its variations
ISC License
74 stars 63 forks source link

ndntlv: remove superfluous write() #347

Closed cgundogan closed 5 years ago

cgundogan commented 5 years ago

Contribution description

I wonder what this write() is supposed to do here. I couldn't find any custom write() definition in the code base, so it must be the systems write() function. This would mean, that the buffer is dumped to file handler 1 (stdout?). Is there a motive for doing so? To me, this looks more or less like a relict..

Issues/PRs references

none

mfrey commented 5 years ago

From my perspective we can approve and merge the PR. The only question which remains is if we should make the write statement a log statement (however, I'm fine with simply removing the write statement)