summaryrefslogtreecommitdiff
path: root/ui/util.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-01Remove unneeded includes from ui folderMartin Mathieson1-1/+0
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a Reviewed-on: https://code.wireshark.org/review/6128 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-09-26Move the console log handling code to ui/console.[ch].Gerald Combs1-3/+3
Change-Id: I8e554a8e17399d78b0ef29dfb68109a219cd9f1b Reviewed-on: https://code.wireshark.org/review/4294 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-04-15Fix crash on invalid SSH_CONNECTION and SSH_CLIENT valuesPeter Wu1-11/+12
The third parameter to g_strsplit is the maximum number of elements, you cannot just assume that a vector with exactly that number of elements is available. This will crash for example: `SSH_CONNECTION= wireshark`. This patch takes care of that and also fixes a memleak due to missing g_strfreev. To reduce code bloat, return the filter at last so that g_strfreev does not have to be repeated before returning. Note that it still possible for the filter to contain absolute junk since the port and host number is not validated... Change-Id: I4414d2a748f83ded59775fb1e733ce1250cfc553 Reviewed-on: https://code.wireshark.org/review/1100 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2012-10-24Fix indent and add Modelines info for new common ui source file(s)Alexis La Goutte1-210/+223
svn path=/trunk/; revision=45766
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-25Revert 43481: linking dftest against libui was not the problem.Jeff Morriss1-0/+39
svn path=/trunk/; revision=43488
2012-06-25Move get_args_as_string from ui/util.c into wsutil (maybe not to the bestJeff Morriss1-39/+0
module, but...). This makes dftest no longer dependent on libui, so stop linking against it. svn path=/trunk/; revision=43481
2012-02-17Start moving files to ui/ and ui/cli/Jörg Mayer1-0/+341
svn path=/trunk/; revision=41047