mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Ensure MQTT_CMD_SUBACK is received before calling mg_mqtt_pub in tests
This commit is contained in:
1 parent
a1ec179229
commit
e4ab9a4130
3 files changed
+42
-8
No files matched your search
+1
-1
@@ -111,7 +111,7 @@ uint64_t mg_millis(void) {
|
||||
#endif
|
||||
return ((uint64_t) ts.tv_sec * 1000 + (uint64_t) ts.tv_nsec / 1000000);
|
||||
#else
|
||||
return time(NULL) * 1000;
|
||||
return (uint64_t) (time(NULL) * 1000);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user