kopia lustrzana https://github.com/Hamlib/Hamlib
Remove some debug and fix debug indendation
rodzic
af5ea58350
commit
935cebed6e
|
@ -166,8 +166,7 @@ void errmsg(int err, char *s, const char *func, const char *file, int line);
|
|||
// could be a function call
|
||||
#define RETURNFUNC(rc) {do { \
|
||||
int rctmp = rc; \
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%.*s%d:%s(%d):%s returning(%ld) %s\n", rig->state.depth-1, spaces(), rig->state.depth, __FILENAME__, __LINE__, __func__, (long int) (rctmp), rctmp<0?rigerror2(rctmp):""); \
|
||||
if (rig->state.depth == 0) rig_debug(RIG_DEBUG_ERR, "%s(%d) depth=0 ******************\n", __func__, __LINE__); \
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%.*s%d:%s(%d):%s returning(%ld) %s\n", rig->state.depth, spaces(), rig->state.depth, __FILENAME__, __LINE__, __func__, (long int) (rctmp), rctmp<0?rigerror2(rctmp):""); \
|
||||
--rig->state.depth; \
|
||||
return (rctmp); \
|
||||
} while(0);}
|
||||
|
|
Ładowanie…
Reference in New Issue