{"shas":[["a9e078da39ca151d9658c861b48e0ffd377891fb","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: move client estimate XML generation out of getsize()\n\nThis allows to chop off 100 lines from getsize(), plus we get rid of 7 local\nvariables along the way.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4114 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["29f0e97feb835706917f489a82ce5c5d98ddf4fa","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/sendsize.c: rework non-XML string generation in getsize()\n\nPrior to this it was a flurry of local variables appended together at the end.\nUse a GString instead. This allows to get rid of 8 (!) local variables along the\nway (while adding two, admittedly).\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4115 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["14c1e883b558770660dea3cbec81995600bdf01c","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: push up optionstr() checking\n\nPrior to this, the check was done in every estimate loop. But if the check\nfailed, the program aborted.\n\nPush the check up prior to entering the loop.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4116 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["6044b83adbe764de4562787aabde1aac4d006c0a","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: check for available estimates, not the string\n\nNow that we have a reliable variable to count the number of client estimates,\nuse it to check whether to proceed instead of checking for the string.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4117 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["8999b5306076c921863586ddd1ce545141e1f0e9","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: further use the GString to build the request\n\nInstead of using it just to build the initial request, build the full request\nwith it, including in the noop case.\n\nThis removes two uses of strappend() as a bonus.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4118 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["4af7a64856cc1c051a290a500f67f9af0a0c026e","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: variable pushdown\n\n\"qname\" and \"qdevice\" were never used if the noop service was invoked. Push them\ndown where appropriate.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4119 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["3cb4a546069df22db5a9182e7910bd56044de09c","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: remove variables qname and qdevice\n\nThey were allocated early but seldomly used. Push up the tmp variable instead\nand use it to store the requested values on demand.\n\nAlso, this allows two amfree()s at the end of the host scanning loop, which\nallows for further indentation reduction.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4120 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["4cfb80d2c1ca3c6bc0665f48609ef72bde2900fe","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: externalize text-based string estimate generation\n\nWith the cleanup achieved so far, this now becomes possible: do it.\n\nUnlike the XML generation routine, this one is called for each estimate level\navailable.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4121 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["587dc0b0ea27297fd46d6dd45094ca2559765f70","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: one less indentation level\n\nSince the qname and qdevice variables are not here anymore, nothing prevents us\nnow from inverting the client-size estimate condition and \"continue;\" early. Do\nit.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4122 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"],["a0cbfac88e58b77cab88a08b392a65ea9e07e66f","b63915d52993222d942e3687419d5ec7864c80f4@gmail.com","server-src/planner.c: use a GPtrArray to collect client estimate strings\n\nThis means both generation routines now must remove the \\n from their generated\nstrings, since g_strjoinv() takes care of this.\n\ngit-svn-id: https://amanda.svn.sourceforge.net/svnroot/amanda/amanda/trunk@4123 a8d146d6-cc15-0410-8900-af154a0219e0","Francis Galiegue"]],"ref":"refs/heads/master","size":10,"head":"a0cbfac88e58b77cab88a08b392a65ea9e07e66f","push_id":33572606}