Re: How to write a variable in a text file whenever performs a SNMP set operation?

2013-06-27 Thread Juan Bússoli
Hi Niels, First of all, thank you very much for your time and help. Taking into account the tips you gave me, I made the following changes: I changed the code so that the file opens and closes within each case (MODE_GET or MODE_SET_ACTION). I used fprintf function that you said, instead of snprint

Re: How to write a variable in a text file whenever performs a SNMP set operation?

2013-06-27 Thread Niels Baggesen
Den 27-06-2013 18:34, Juan Bússoli skrev: > After making these changes, the SET operation it works (which writes in > a text file), so then I added also the GET operation (which read in the > same text file) and it works too! :) good > As for adding some debug output, I do not know where I can fi