Permalink
Browse files

Fixed bug #72648 timeout_sec used instead of timeout_usec

  • Loading branch information...
1 parent ac7f5cc commit 3257341e47ccd70a9bb8910417f4405b1e608432 @adoy adoy committed Jul 23, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 stomp.h
View
@@ -90,7 +90,7 @@ int stomp_select_ex(stomp_t *connection, const long int sec, const long int usec
void stomp_set_error(stomp_t *stomp, const char *error, int errnum, const char *fmt, ...) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0);
void stomp_free_frame(stomp_frame_t *frame);
-#define stomp_select(s) stomp_select_ex(s, s->options.read_timeout_sec, s->options.read_timeout_sec)
+#define stomp_select(s) stomp_select_ex(s, s->options.read_timeout_sec, s->options.read_timeout_usec)
#endif /* _STOMP_H_ */
/*

0 comments on commit 3257341

Please sign in to comment.