]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Fix some typos in comments 835/head
authorWolfgang Stöggl <c72578@yahoo.de>
Fri, 13 Oct 2017 12:50:53 +0000 (14:50 +0200)
committerWolfgang Stöggl <c72578@yahoo.de>
Fri, 13 Oct 2017 12:50:53 +0000 (14:50 +0200)
- Corrected observed typos in code comments and strings
- Harmonize spelling of RRDtool:
  RRDTool -> RRDtool

31 files changed:
CHANGES
README.md
WIN32-BUILD-TIPS.txt
bindings/lua/rrdlua.c
bindings/python/rrdtoolmodule.c
doc/librrd.pod
doc/rrdlua.pod
doc/rrdtool-dump.xsd
doc/rrdtune.pod
doc/rrdupdate.pod
src/quicksort.h
src/rrd.h
src/rrd_cgi.c
src/rrd_client.c
src/rrd_client.h
src/rrd_daemon.c
src/rrd_datalang.c
src/rrd_dump.c
src/rrd_error.c
src/rrd_fetch_libdbi.c
src/rrd_flushcached.c
src/rrd_format.h
src/rrd_graph.c
src/rrd_graph.h
src/rrd_graph_helper.c
src/rrd_hw_update.c
src/rrd_open.c
src/rrd_snprintf.c
src/rrd_tune.c
src/rrd_xport.c
win32/rrd_config.h

diff --git a/CHANGES b/CHANGES
index 29f2be1a916941cab16b5b487c851d5638053f4b..8e3d1b142227a9d8e5af0bad2400ed5a08153854 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -16,7 +16,7 @@ Features
 
 API
 ---
-* New Exported funtions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list
+* New Exported functions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list
 * rrd_list support for perl and python binding
 * all new and much more complete python bindings working on both python 2.6+ and 3.3+
 * extended documentation in rrdlib.pod
@@ -45,7 +45,7 @@ Bugfixes
 --------
 * segfault on CDEF:x=
 * Disable nagle algorithm as it is causing massive slowdown
-* make vname nameing rules more liberal and more in line with 1.4
+* make vname naming rules more liberal and more in line with 1.4
 * Fix recursive directory creation in rrdcached on FREEBSD
 * Fixed compilation when there's no sigwaitinfo
 
@@ -189,7 +189,7 @@ Highlights
 * the optional argument :skipscale allows for a LINE or AREA instruction to be
   excluded from having an effect on the scaling of the graph
 
-* TRENDNAN is now working properly and als not crashing anymore
+* TRENDNAN is now working properly and also not crashing anymore
 
 * Added a no-op string positioning combo "\." this allows to write
   COMMENT:OS\2\. which would otherwise not be possible.
index 5d198a2706a974f8e1eeea22911d489792570fb1..01e662dd712d6a228d3c44507440c7af34a3e181 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ RRDtool - Round Robin Database Tool
 
 [![Join the chat at https://gitter.im/oetiker/rrdtool-1.x](https://badges.gitter.im/oetiker/rrdtool-1.x.svg)](https://gitter.im/oetiker/rrdtool-1.x?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
 
-RRDTool 1.x master build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=master)](https://travis-ci.org/oetiker/rrdtool-1.x)
+RRDtool 1.x master build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=master)](https://travis-ci.org/oetiker/rrdtool-1.x)
 test coverage [![Coverage Status](https://coveralls.io/repos/oetiker/rrdtool-1.x/badge.png?branch=master)](https://coveralls.io/r/oetiker/rrdtool-1.x?branch=master)
 
 RRDtool 1.7.x build status: [![Build Status](https://travis-ci.org/oetiker/rrdtool-1.x.png?branch=1.7)](https://travis-ci.org/oetiker/rrdtool-1.x)
index ca7f4e947e99dabc026c0f48d448fc715be0e108..9b494bd569bd87a07c179146388b86d7aaa5a00a 100644 (file)
@@ -374,7 +374,7 @@ Compiling RRDtool 1.2.x on Win32 with MingW32 gcc:
    In order to build the static freetype lib enter the freetype base directory
    and type 'make'. If everything is fine a message appears that gcc is detected,
    and that you should again type 'make'. Follow that in order to build freetype.
-   All other libs are build from the sources with the RRDTool Makefile.Win32.
+   All other libs are build from the sources with the RRDtool Makefile.Win32.
 
    Switch to the RRDTOOL .\src directory. Then:
 
index ce484cb96130d4b6b55897dd6f970c7678e425ef..d5e54a2358719d4096a72e7f1305d123a2005522 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Lua bindings for RRDTool
+ * Lua bindings for RRDtool
  *
  * This software is licensed to the public under the Free Software
  * Foundation's GNU GPL, version 2 or later. You may obtain a copy
@@ -338,7 +338,7 @@ set_info (lua_State * L)
   lua_pushliteral (L, "Copyright (C) 2008 Fidelis Assis");
   lua_settable (L, -3);
   lua_pushliteral (L, "_DESCRIPTION");
-  lua_pushliteral (L, "RRD-lua is a Lua binding for RRDTool.");
+  lua_pushliteral (L, "RRD-lua is a Lua binding for RRDtool.");
   lua_settable (L, -3);
   lua_pushliteral (L, "_NAME");
   lua_pushliteral (L, "RRD-Lua");
index 95a1db33d0838150a61ed040109d60040cc73154..ce2884004beed186460c326a74a8eb37b55442b0 100644 (file)
@@ -1200,7 +1200,7 @@ _rrdtool_fetch_cb_wrapper(
         *ds_namv = (char **)calloc(*ds_cnt, sizeof(char *));
 
         if (*ds_namv == NULL) {
-            rrd_set_error("an error occured while allocating memory for "
+            rrd_set_error("an error occurred while allocating memory for "
                 "ds_namv when allocating memory for python callback");
             goto gil_release_err;
         }
index 141dbcfc36dbd79c868634a29d57476f5ae53314..b47665ee9bc6795c16113dae10b761fd16fed92e 100644 (file)
@@ -6,7 +6,7 @@ librrd - RRD library functions
 
 =head1 DESCRIPTION
 
-B<librrd> contains most of the functionality in B<RRDTool>.  The command
+B<librrd> contains most of the functionality in B<RRDtool>.  The command
 line utilities and language bindings are often just wrappers around the
 code contained in B<librrd>.
 
index 7d234fe3244c77e02e75cf33bd89382cd6450c15..bf3f9ab09a48b4805cd168f58ce8a07b04caf089 100644 (file)
@@ -1,6 +1,6 @@
 =head1 NAME
 
-RRDLua -  Lua binding for RRDTool
+RRDLua -  Lua binding for RRDtool
 
 =head1 SYNOPSIS
 
@@ -80,7 +80,7 @@ programs where to find it by changing the Lua var LUA_PATH:
 
 =head2 Error Handling
 
-The Lua RRDTool module functions will abort your program with a stack
+The Lua RRDtool module functions will abort your program with a stack
 traceback when they can not make sense out of the arguments you fed them.
 However, you can capture and handle the errors yourself, instead of just
 letting the program abort, by calling the module functions through Lua
@@ -106,7 +106,7 @@ protected calls - 'pcall' or 'xpcall'.
      -- original_LUA_PATH = nil
      --- end of code to require compat-5.1 ---------------------------
      
-     -- If the Lua RRDTool module was installed together with RRDTool,
+     -- If the Lua RRDtool module was installed together with RRDtool,
      -- in /usr/local/rrdtool-1.3.2/lib/lua/5.0, package.cpath must be
      -- set accordingly so that 'require' can find the module:
     
index ef8c9231965c212af5c33f7f72ffb18597056fa1..77b69a58327e3e0be727cdabda8714d1ac0104b8 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-       XML schema definition for the RRDTool dump output.
+       XML schema definition for the RRDtool dump output.
 
        Author: 
                Tobias Lindenmann <tobias.lindenmann at 1und1.de>
index ae43c8950dfc2fd8681a5bd9d60b8bb495139cd3..b04c5e7fa501983f13fc238ea4875c17946bcd43 100644 (file)
@@ -185,7 +185,7 @@ B<NOTE>: Because the B<-d> (small letter 'd') option was already taken, this
 function (unlike most other) uses the capital letter 'D' for the one-letter 
 option to name the cache daemon.
 
-If given, B<RRDTool> will try to connect to the caching daemon
+If given, B<RRDtool> will try to connect to the caching daemon
 L<rrdcached> at I<address> and will fail if the connection cannot be
 established. If the connection is successfully established the data
 for the I<filename> will be flushed before performing the
index f94009c1986be426f602fc7dcc9347a2a1e39eee..1d13155ec9ce4dd93145e181d7cb99e35d319389 100644 (file)
@@ -73,7 +73,7 @@ been applied.
 
 =item B<--daemon>|B<-d> I<address>
 
-If given, B<RRDTool> will try to connect to the caching daemon L<rrdcached>
+If given, B<RRDtool> will try to connect to the caching daemon L<rrdcached>
 at I<address>. If the connection is successfully established the values will
 be sent to the daemon instead of accessing the files directly. If the
 connection cannot be established it will fall back to direct file-access.
index 844c9d8bcd694d8d042ea34973031bb9f2bc0315..1bb2731de237bc9a94f3e8f595ec8a5e2fd4f937 100644 (file)
@@ -18,13 +18,13 @@ typedef int compar_ex_t(const void *a, const void *b, const void *extra);
 
 /**
  * An extended quick sort algorithm compared to stdlib qsort. Takes an extra 
- * parameter passed through to the comparation function (of type compar_ex_t).
+ * parameter passed through to the comparison function (of type compar_ex_t).
  * 
  * @param array                The array to sort
  * @param size         The size of array elements
  * @param nitems       The number of array elements to sort
- * @param cmp          The comparation function.
- * @param extra                Extra data passed to the comparation function
+ * @param cmp          The comparison function.
+ * @param extra                Extra data passed to the comparison function
  */
 void quick_sort(void *array, size_t size, size_t nitems, compar_ex_t *cmp, void *extra);
 
index ae22a226af499096bdac260c4122453fa4bdc754..873c5b0d31573241098b0ba3461d8af65d07c07a 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -34,7 +34,7 @@
  * library is identical to librrd, but it contains support code for per-thread
  * global variables currently used for error information only. This is similar
  * to how errno per-thread variables are implemented.  librrd_th must be linked
- * alongside of libpthred
+ * alongside of libpthread
  *
  * There is also a new file "THREADS", holding some documentation.
  *
@@ -404,13 +404,13 @@ int       rrd_proc_start_end(
 /*
  * The following functions are _internal_ functions needed to read the raw RRD
  * files. Since they are _internal_ they may change with the file format and
- * will be replaced with a more general interface in RRDTool 1.4. Don't use
+ * will be replaced with a more general interface in RRDtool 1.4. Don't use
  * these functions unless you have good reasons to do so. If you do use these
- * functions you will have to adapt your code for RRDTool 1.4!
+ * functions you will have to adapt your code for RRDtool 1.4!
  *
  * To enable the deprecated functions define `RRD_EXPORT_DEPRECATED' before
  * including <rrd_test.h>. You have been warned! If you come back to the
- * RRDTool mailing list and whine about your broken application, you will get
+ * RRDtool mailing list and whine about your broken application, you will get
  * hit with something smelly!
  */
 #if defined(RRD_TOOL_H_3853987DDF7E4709A5B5849E5A6204F4) || defined(RRD_EXPORT_DEPRECATED)
index 5425f23773aa2ef09c074bc44ec79d9a19c784d5..91e23f763aee341c303c3dff2265407521c9013c 100644 (file)
@@ -498,7 +498,7 @@ int main(
 #endif
 
 
-    /* expand rrd directives in buffer recursivley */
+    /* expand rrd directives in buffer recursively */
     for (i = 0; buffer[i]; i++) {
         if (buffer[i] != '<')
             continue;
@@ -865,7 +865,7 @@ static char *cgigetqp(
     d = buf2;
 
     while (*p) {
-        /* prevent mallicious paths from entering the system */
+        /* prevent malicious paths from entering the system */
         if (p[0] == '.' && p[1] == '.') {
             p += 2;
             *d++ = '_';
index 9786f8e0d0bbd9716e20943be1b92a5189f4f621..f5cfa39119718601abf1051bd64f177d27df6fdd 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * RRDTool - src/rrd_client.c
+ * RRDtool - src/rrd_client.c
  * Copyright (C) 2008-2013  Florian octo Forster
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
index 2ed64f8e7a7232ff096083259cf19a554aa71c5d..fe8f954a35dbfc5d567c253f8d54480b16aa5eb2 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * RRDTool - src/rrd_client.h
+ * RRDtool - src/rrd_client.h
  * Copyright (C) 2008-2010  Florian octo Forster
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
index ee8665e59dcda58ea763635a4b45e36dd8ffc3d7..1827715512be28d54d5300c228de5c65a486dc3a 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * RRDTool - src/rrd_daemon.c
+ * RRDtool - src/rrd_daemon.c
  * Copyright (C) 2008-2010 Florian octo Forster
  * Copyright (C) 2008,2009 Kevin Brintnall
  *
index 807463658c5900fd5ea19ef3b72939fe126f8cf2..97b69c0417bf786aa3e94eb6b93477288ca37781 100644 (file)
@@ -15,7 +15,7 @@
  * from a typed language
  *
  * Data returns from functions is not standardized at all, which is
- * efficient in the sense that the data return interface can be tailord to
+ * efficient in the sense that the data return interface can be tailored to
  * the specific needs of the function at hand, but it also leads to
  * increased probability for implementation errors as things have to be
  * reinvented for each function. Also adding new functions into all the
index 69bbdf1191d9c620de4adf4d2eb0494288e4d5b9..e975bf5a8d4aad32fbf4f3e5bc5123f350d88b4c 100644 (file)
@@ -18,7 +18,7 @@
  * library is identical to librrd, but it contains support code for per-thread
  * global variables currently used for error information only. This is similar
  * to how errno per-thread variables are implemented.  librrd_th must be linked
- * alongside of libpthred
+ * alongside of libpthread
  *
  * There is also a new file "THREADS", holding some documentation.
  *
index 82c07e723b27b6b56602f0979bc59ae2a01b7762..4426b6d51c6ead87690e029647c1c31055c41de4 100644 (file)
@@ -16,7 +16,7 @@
  * library is identical to librrd, but it contains support code for per-thread
  * global variables currently used for error information only. This is similar
  * to how errno per-thread variables are implemented.  librrd_th must be linked
- * alongside of libpthred
+ * alongside of libpthread
  *
  * There is also a new file "THREADS", holding some documentation.
  *
index 895abec9c5c5b34e68816853eeab122b3a5c4e52..fcd7f0d78665f169fd21e79f4cdaa62c9903d5c8 100644 (file)
@@ -313,7 +313,7 @@ static char* _find_next_separator_twice(char*start,char separator) {
       /* and return the pointer past the current one*/
       return (found+2);
     }
-    /* find next occurence */
+    /* find next occurrence */
     found=strchr(found+1,separator);
   }
   /* not found, so return NULL */
@@ -642,7 +642,7 @@ rrd_fetch_fn_libdbi(
       r_value=DNAN;
       /* check for timestamp delta to be within an acceptable range */
       if ((d_timestamp>0)&&(d_timestamp<2*derive)) {
-       /* only handle positive delta - avoid wrap-arrounds/counter resets showing up as spikes */
+       /* only handle positive delta - avoid wrap-arounds/counter resets showing up as spikes */
        if (d_value>0) {
          /* and normalize to per second */
          r_value=d_value/d_timestamp;
index 1788e2b87a795aedd08fe5bc45320d88dad71283..6d92c940611d3620a5145f9c66c135a443e74c79 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * RRDTool - src/rrd_flushcached.c
+ * RRDtool - src/rrd_flushcached.c
  * Copyright (C) 2008 Florian octo Forster
  *
  * This program is free software; you can redistribute it and/or modify it
index 4f3804ae98635ed04b68b14fbb09cf4593d26228..5d0464b81b5899c25f356c450f57358ece34e830 100644 (file)
@@ -9,7 +9,7 @@
 
 /* 
  * _RRD_TOOL_H
- *   We're building RRDTool itself.
+ *   We're building RRDtool itself.
  *
  * RRD_EXPORT_DEPRECATED
  *   User is requesting internal function which need this struct. They have
@@ -351,7 +351,7 @@ enum cdp_par_en { CDP_val = 0,
     /* Current slope coefficient for the Holt-Winters
      * prediction algorithm. */
     CDP_hw_last_slope,
-    /* Last iteration slope coeffient. */
+    /* Last iteration slope coefficient. */
     CDP_null_count,
     /* Number of sequential Unknown (DNAN) values + 1 preceding
      * the current prediction.
@@ -369,7 +369,7 @@ enum cdp_par_en { CDP_val = 0,
      * prediction algorithm. This is stored in CDP prep to avoid
      * redundant seek operations. */
     CDP_hw_last_seasonal = CDP_hw_last_intercept,
-    /* Last iteration seasonal coeffient. */
+    /* Last iteration seasonal coefficient. */
     CDP_seasonal_deviation = CDP_hw_intercept,
     CDP_last_seasonal_deviation = CDP_hw_last_intercept,
     CDP_init_seasonal = CDP_null_count
index b3b6355d4e77822cc8ddc1e86c86b7321314680f..d903b99fe8dd0cf63b4af2aa6f7f378bb3eb7e10 100644 (file)
@@ -976,7 +976,7 @@ int data_fetch(
              * existing connection is re-used. */
             rrdc_connect (rrd_daemon);
 
-            /* If connecting was successfull, use the daemon to query the data.
+            /* If connecting was successful, use the daemon to query the data.
              * If there is no connection, for example because no daemon address
              * was specified, (try to) use the local file directly. */
             if (rrdc_is_connected (rrd_daemon))
@@ -1430,7 +1430,7 @@ int data_proc(
         }
     }
 
-    /* if min or max have not been asigned a value this is because
+    /* if min or max have not been assigned a value this is because
        there was no data in the graph ... this is not good ...
        lets set these to dummy values then ... */
 
@@ -4481,7 +4481,7 @@ int gdes_alloc(
     return 0;
 }
 
-/* copies input untill the first unescaped colon is found
+/* copies input until the first unescaped colon is found
    or until input ends. backslashes have to be escaped as well */
 int scan_for_col(
     const char *const input,
index 34e587ec518bf377b91b97871bd82cf0112677f6..f2aa6c1f195b22f4fff8d6a26aa6ba90dd5d1942 100644 (file)
@@ -291,7 +291,7 @@ typedef struct image_desc_t {
     enum value_formatter_en primary_axis_formatter; /* How to format axis values */
     double    ygridstep;    /* user defined step for y grid */
     int       ylabfact; /* every how many y grid shall a label be written ? */
-    double    tabwidth; /* tabwdith */
+    double    tabwidth; /* tabwidth */
     time_t    start, end;   /* what time does the graph cover */
     unsigned long step; /* any preference for the default step ? */
     rrd_value_t minval, maxval; /* extreme values in the data */
@@ -329,7 +329,7 @@ typedef struct image_desc_t {
     long      base;     /* 1000 or 1024 depending on what we graph */
     char      symbol;   /* magnitude symbol for y-axis */
     float     viewfactor;   /* how should the numbers on the y-axis be scaled for viewing ? */
-    int       unitsexponent;    /* 10*exponent for units on y-asis */
+    int       unitsexponent;    /* 10*exponent for units on y-axis */
     int       unitslength;  /* width of the yaxis labels */
     int       forceleftspace;   /* do not kill the space to the left of the y-axis if there is no grid */
 
@@ -341,7 +341,7 @@ typedef struct image_desc_t {
     long      gdes_c;   /* number of graphics elements */
     graph_desc_t *gdes; /* points to an array of graph elements */
     cairo_surface_t *surface;   /* graphics library */
-    cairo_t  *cr;       /* drawin context */
+    cairo_t  *cr;       /* drawing context */
     cairo_font_options_t *font_options; /* cairo font options */
     cairo_antialias_t graph_antialias;  /* antialiasing for the graph */
     PangoLayout *layout; /* the pango layout we use for writing fonts */
index 94b1b22d4ff32cd378551f76d338fcfdb13fe196..df9c494a5de8d839e513e7c3558b29b1e67bfb4d 100644 (file)
@@ -862,7 +862,7 @@ static int parse_textalign(enum gf_en,parsedargs_t*,image_desc_t *const);
 static int parse_shift(enum gf_en,parsedargs_t*,image_desc_t *const);
 static int parse_xport(enum gf_en,parsedargs_t*,image_desc_t *const);
 
-/* this is needed for LINE,AREA,STACk so that the labels get done correctly... */
+/* this is needed for LINE,AREA,STACK so that the labels get done correctly... */
 static void legend_shift(char *legend)
 {
   if (!legend || !legend[0]) { return; }
index 8793b12aa604f5599c224fc6a0881aa84b9ec05e..77e110332d0b56aecfc4cd42ad78b22124ac9c9a 100644 (file)
@@ -305,7 +305,7 @@ int update_devseasonal(
         /* associated HWPREDICT has already been updated */
         if (isnan(coefs[CDP_hw_last_intercept].u_val) ||
             isnan(coefs[CDP_hw_last_slope].u_val) || isnan(seasonal_coef)) {
-            /* one of the prediction values is unitialized */
+            /* one of the prediction values is uninitialized */
             rrd->cdp_prep[cdp_idx].scratch[CDP_scratch_idx].u_val = DNAN;
             return 0;
         } else {
@@ -319,7 +319,7 @@ int update_devseasonal(
         /* associated HWPREDICT has NOT been updated */
         if (isnan(coefs[CDP_hw_intercept].u_val) ||
             isnan(coefs[CDP_hw_slope].u_val) || isnan(seasonal_coef)) {
-            /* one of the prediction values is unitialized */
+            /* one of the prediction values is uninitialized */
             rrd->cdp_prep[cdp_idx].scratch[CDP_scratch_idx].u_val = DNAN;
             return 0;
         } else {
index 3eec95ab75fed8bd21f724805a90afd1a18e1ddc..79b6b1f2ba6a4537838b1b156bea8fca7aa5df1b 100644 (file)
@@ -278,7 +278,7 @@ rrd_file_t *rrd_open(
     if (rdwr & RRD_READWRITE) {    
         /* some unices, the files mtime does not get updated
            on memory mapped files, in order to help them,     
-           we update the the timestamp at this point.      
+           we update the timestamp at this point.      
            The thing happens pretty 'close' to the open    
            call so the chances of a race should be minimal.    
                 
index 6a8b405ff9f8e9eab89465285d53d001876eff9d..8c882a4dca58c2f14662c22b8ddee40ad53d0de4 100644 (file)
 #undef HAVE_LOCALECONV
 #endif
 
-/* the new functions shall be calld rrd_* */
+/* the new functions shall be called rrd_* */
 
 #define vsnprintf rrd_vsnprintf
 #define snprintf rrd_snprintf
index 214b1fd6ce082404bc54650231f2dd2a49cb0cd4..39de4dcac75e614bfafb672753c5811bb3134b70 100644 (file)
@@ -27,7 +27,7 @@
  *
  * Revision 1.3  2001/03/07 21:21:54  oetiker
  * complete rewrite of rrdgraph documentation. This also includes info
- * on upcomming/planned changes to the rrdgraph interface and functionality
+ * on upcoming/planned changes to the rrdgraph interface and functionality
  * -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
  *
  * Revision 1.2  2001/03/04 13:01:55  oetiker
index e68cba5b2f3efe04c5b616d0139426d8fb91cbef..cefc3f470ea71ee169eb1fa93311ca758a32ad72 100644 (file)
@@ -588,7 +588,7 @@ static int rrd_xport_format_xmljson(int flags,stringbuffer_t *buffer,image_desc_
 
   /* define the time format */
   char* timefmt=NULL;
-  /* unfortunatley we have to do it this way,
+  /* unfortunately we have to do it this way,
      as when no --x-graph argument is given,
      then the xlab_user is not in a clean state (e.g. zero-filled) */
   if (im->xlab_user.minsec!=-1.0) { timefmt=im->xlab_user.stst; }
index 18e3ed05184bf587ef9b16aac2f8a54420654b55..98fb0aa2cace265de4a37d014a972127c06f236b 100644 (file)
@@ -94,7 +94,7 @@
 /* Define to 1 if you have the `tzset' function. */
 #define HAVE_TZSET 1
 
-/* Define to 1 if you have the `uniptr_t' standard type. */
+/* Define to 1 if you have the `uintptr_t' standard type. */
 #define HAVE_UINTPTR_T 1
 
 /* Misc Missing Windows defines */