Revert "Add error message to debug statements with error codes -- a little more user friendly"

This reverts commit 016bcfcf39.
This might have affected DLL compatiblity
pull/910/head
Mike Black W9MDB 2021-12-26 09:10:21 -06:00
rodzic 016bcfcf39
commit 196be77da4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -157,7 +157,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 return(%ld) %s\n", __FILENAME__, __LINE__, __func__, (long int) (rctmp), rctmp<0?rigerror(rctmp):""); \
rig_debug(RIG_DEBUG_VERBOSE, "%s(%d):%s return(%ld)\n", __FILENAME__, __LINE__, __func__, (long int) (rctmp)); \
return (rctmp); \
} while(0)