fix double close() issue

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@701 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.3
Stéphane Fillod, F8CFE 2001-10-25 21:22:49 +00:00
rodzic e70124ef5a
commit b75b5e6613
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@
* Hamlib Interface - main file
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
*
* $Id: rig.c,v 1.46 2001-10-16 21:18:02 f4cfe Exp $
* $Id: rig.c,v 1.47 2001-10-25 21:22:49 f4cfe Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -545,6 +545,8 @@ int rig_close(RIG *rig)
remove_opened_rig(rig);
rs->comm_state = RIG_COMM_NOTOPEN;
return RIG_OK;
}