Page MenuHomeDevCentral

D3067.id7840.diff
No OneTemporary

D3067.id7840.diff

diff --git a/src/rabbitmq-tcl.c b/src/rabbitmq-tcl.c
--- a/src/rabbitmq-tcl.c
+++ b/src/rabbitmq-tcl.c
@@ -92,7 +92,7 @@
}
/**
- * Prints an error message as command result and notify TCL an error occured.
+ * Prints an error message as command result and notifies TCL an error occured.
*
* @param[out] tclInterpreter The interpreter in which to set result
* @param[in] error The error message
@@ -132,7 +132,7 @@
/**
* Determines the AMQP error from the server RPC reply, prints an error message
- * based on this error and the specified context, then notify TCL an error
+ * based on this error and the specified context, then notifies TCL an error
* occured.
*
* @param[out] tclInterpreter The interpreter in which to set result
@@ -215,7 +215,7 @@
connectionNumber = context->commandNumber;
command = Tcl_GetString(argv[1]);
- // Run the command
+ // Runs the command
// We drop "mq <command>" from argv and pass the rest as parameters.
//
// If exceptions4c is needed, we wrap the call inside a try/catch block.
@@ -712,7 +712,7 @@
#endif
/**
- * Determines TCL environment is correct and initiliazes stubs if needed
+ * Determines if the TCL environment is correct and initializes stubs if needed
*
* @param[out] tclInterpreter The current TCL interpreter
* @return 1 on success; otherwise, 0
@@ -787,7 +787,7 @@
}
/**
- * Initializes the library and provide mq commands
+ * Initializes the library and provides mq commands
*
* @param[out] tclInterpreter The current TCL interpreter to provide commands to
* @return TCL_OK on success; otherwise, TCL_ERROR
diff --git a/src/utils/netutils.c b/src/utils/netutils.c
--- a/src/utils/netutils.c
+++ b/src/utils/netutils.c
@@ -26,7 +26,7 @@
#include "strutils.h"
/* -------------------------------------------------------------
- Parse host:port expression helper functions
+ Parser for host:port expressions
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/**
diff --git a/src/utils/strutils.h b/src/utils/strutils.h
--- a/src/utils/strutils.h
+++ b/src/utils/strutils.h
@@ -65,7 +65,7 @@
*/
char *str_replace(const char *needle, const char *replace, char *haystack) {
// This code is based on a str_replace function designed by
- // Chantra <chantra@debuntu.org> and Iain R. Learmonth <irl@sdf.org>
+ // Chantra <chantra@debuntu.org> and Iain R. Learmonth <irl@sdf.org>
// Source: https://github.com/irl/la-cucina/blob/master/str_replace.c
char *token = NULL;

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 09:49 (5 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312231
Default Alt Text
D3067.id7840.diff (2 KB)

Event Timeline