os22: fixed potential bug in loading opensync config
commitcdcff2bd44012863c3ea151a0d8f6cedafe24ebb
authorChris Frey <cdfrey@foursquare.net>
Tue, 15 Dec 2009 10:04:45 +0000 (15 05:04 -0500)
committerChris Frey <cdfrey@foursquare.net>
Tue, 15 Dec 2009 10:06:54 +0000 (15 05:06 -0500)
tree238c65b910af239a1bc210b02f971b372068a830
parentc1a25fcacc745186453870c8d8ff0b4eecbed207
os22: fixed potential bug in loading opensync config

If the key value stays in the next loop, it may trigger the "Device"
key multiple times, and overwrite the pin with something else.
opensync-plugin/src/environment.cc