Browse code

- support for float values

Andrei Pelinescu-Onciul authored on 27/06/2007 21:09:27
Showing 1 changed files
... ...
@@ -336,6 +336,9 @@ void print_binrpc_val(struct binrpc_val* v, int ident)
336 336
 		case BINRPC_T_STRUCT:
337 337
 			printf("%c", (v->u.end)?'}':'{');
338 338
 			break;
339
+		case BINRPC_T_DOUBLE:
340
+			printf("%f", v->u.fval);
341
+			break;
339 342
 		default:
340 343
 			printf("ERROR: unknown type %d\n", v->type);
341 344
 	};