Update osc.c

Error code wrongly checked.
Merge pull request #7 from VishalChandla/patch-1

Update osc.c