diff options
-rw-r--r-- | src/topology/friends.c | 1 | ||||
-rw-r--r-- | src/util/configuration.c | 2 | ||||
-rw-r--r-- | src/util/disk.c | 2 | ||||
-rw-r--r-- | src/util/os_installation.c | 2 | ||||
-rw-r--r-- | src/util/strings.c | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/src/topology/friends.c b/src/topology/friends.c index d41ff1ec6..6c680b7a0 100644 --- a/src/topology/friends.c +++ b/src/topology/friends.c | |||
@@ -155,6 +155,7 @@ GNUNET_FRIENDS_write_start (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
155 | GNUNET_DISK_OPEN_WRITE | | 155 | GNUNET_DISK_OPEN_WRITE | |
156 | GNUNET_DISK_OPEN_FAILIFEXISTS, | 156 | GNUNET_DISK_OPEN_FAILIFEXISTS, |
157 | GNUNET_DISK_PERM_USER_READ); | 157 | GNUNET_DISK_PERM_USER_READ); |
158 | GNUNET_free (fn); | ||
158 | if (NULL == w->fh) | 159 | if (NULL == w->fh) |
159 | { | 160 | { |
160 | GNUNET_free (w); | 161 | GNUNET_free (w); |
diff --git a/src/util/configuration.c b/src/util/configuration.c index 6176b1734..1e3037878 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c | |||
@@ -145,7 +145,7 @@ GNUNET_CONFIGURATION_destroy (struct GNUNET_CONFIGURATION_Handle *cfg) | |||
145 | * @param allow_inline set to #GNUNET_YES if we recursively load configuration | 145 | * @param allow_inline set to #GNUNET_YES if we recursively load configuration |
146 | * from inlined configurations; #GNUNET_NO if not and raise warnings | 146 | * from inlined configurations; #GNUNET_NO if not and raise warnings |
147 | * when we come across them | 147 | * when we come across them |
148 | * @return #GNUNET_OK on success, #GNUNET_ERROR on error | 148 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error |
149 | */ | 149 | */ |
150 | int | 150 | int |
151 | GNUNET_CONFIGURATION_deserialize (struct GNUNET_CONFIGURATION_Handle *cfg, | 151 | GNUNET_CONFIGURATION_deserialize (struct GNUNET_CONFIGURATION_Handle *cfg, |
diff --git a/src/util/disk.c b/src/util/disk.c index 03d169780..92c32e093 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -1658,7 +1658,7 @@ GNUNET_DISK_file_unlock (struct GNUNET_DISK_FileHandle *fh, off_t unlock_start, | |||
1658 | * @param fn file name to be opened | 1658 | * @param fn file name to be opened |
1659 | * @param flags opening flags, a combination of GNUNET_DISK_OPEN_xxx bit flags | 1659 | * @param flags opening flags, a combination of GNUNET_DISK_OPEN_xxx bit flags |
1660 | * @param perm permissions for the newly created file, use | 1660 | * @param perm permissions for the newly created file, use |
1661 | * #GNUNET_DISK_PERM_USER_NONE if a file could not be created by this | 1661 | * #GNUNET_DISK_PERM_NONE if a file could not be created by this |
1662 | * call (because of flags) | 1662 | * call (because of flags) |
1663 | * @return IO handle on success, NULL on error | 1663 | * @return IO handle on success, NULL on error |
1664 | */ | 1664 | */ |
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 8649fac6f..a94798d8d 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -454,7 +454,7 @@ os_get_exec_path () | |||
454 | 454 | ||
455 | /** | 455 | /** |
456 | * @brief get the path to a specific GNUnet installation directory or, | 456 | * @brief get the path to a specific GNUnet installation directory or, |
457 | * with #GNUNET_IPK_SELF_PREFIX, the current running apps installation directory | 457 | * with #GNUNET_OS_IPK_SELF_PREFIX, the current running apps installation directory |
458 | * @author Milan | 458 | * @author Milan |
459 | * @return a pointer to the dir path (to be freed by the caller) | 459 | * @return a pointer to the dir path (to be freed by the caller) |
460 | */ | 460 | */ |
diff --git a/src/util/strings.c b/src/util/strings.c index 8cff9b0d6..581ac013d 100644 --- a/src/util/strings.c +++ b/src/util/strings.c | |||
@@ -390,7 +390,7 @@ GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time, | |||
390 | * @param input input string | 390 | * @param input input string |
391 | * @param len number of bytes in @a input | 391 | * @param len number of bytes in @a input |
392 | * @param input_charset character set used for @a input | 392 | * @param input_charset character set used for @a input |
393 | * @param ouptut_charset desired character set for the return value | 393 | * @param output_charset desired character set for the return value |
394 | * @return the converted string (0-terminated), | 394 | * @return the converted string (0-terminated), |
395 | * if conversion fails, a copy of the orignal | 395 | * if conversion fails, a copy of the orignal |
396 | * string is returned. | 396 | * string is returned. |