Browse code

lost "do" restored

aCaB authored on 2010/03/06 02:10:56
Showing 1 changed files
... ...
@@ -1882,7 +1882,7 @@ static void emax_reached(cli_ctx *ctx) {
1882 1882
 #define LINESTR(x) #x
1883 1883
 #define LINESTR2(x) LINESTR(x)
1884 1884
 #define __AT__  " at line "LINESTR2(__LINE__)
1885
-#define ret_from_magicscan(retcode) {					\
1885
+#define ret_from_magicscan(retcode) do {					\
1886 1886
     cli_dbgmsg("cli_magic_scandesc: returning %d %s\n", retcode, __AT__);	\
1887 1887
     return retcode;							\
1888 1888
     } while(0)